⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 prenginece.tlh

📁 WinCE PDA打印机测试程序
💻 TLH
📖 第 1 页 / 共 2 页
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (fadeb95a).
//
// PrEngineCE.tlh
//
// C++ source equivalent of Win32 type library PrEngineCE.tlb
// compiler-generated file created 07/19/06 at 10:11:55 - DO NOT EDIT!

#pragma once
#pragma pack(push, 8)

#include <comdef.h>

//
// Forward references and typedefs
//

struct /* coclass */ PrinterCE;
struct __declspec(uuid("5642fb84-113d-11d3-9fba-00a0cc275e38"))
/* dual interface */ IPrinterCE;
struct /* coclass */ BarcodeCE;
struct __declspec(uuid("25ed2f20-3940-11d3-90ff-00a0cc275e38"))
/* dual interface */ IBarcodeCE;
struct /* coclass */ AsciiCE;
struct __declspec(uuid("4e353865-cee3-4044-8787-c6beb4294bf4"))
/* dual interface */ IAsciiCE;
struct /* coclass */ AsciiCE2;
struct __declspec(uuid("bf03f317-6033-4e3e-89d8-d7cc62d47d6b"))
/* dual interface */ IAsciiCE2;

//
// Smart pointer typedef declarations
//

_COM_SMARTPTR_TYPEDEF(IPrinterCE, __uuidof(IPrinterCE));
_COM_SMARTPTR_TYPEDEF(IBarcodeCE, __uuidof(IBarcodeCE));
_COM_SMARTPTR_TYPEDEF(IAsciiCE, __uuidof(IAsciiCE));
_COM_SMARTPTR_TYPEDEF(IAsciiCE2, __uuidof(IAsciiCE2));

//
// Type library items
//

struct __declspec(uuid("417b40a5-0eba-11d3-9fa7-00a0cc275e38"))
PrinterCE;
    // [ default ] interface IPrinterCE

struct __declspec(uuid("5642fb84-113d-11d3-9fba-00a0cc275e38"))
IPrinterCE : IDispatch
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall DrawLine (
        float x1,
        float y1,
        float x2,
        float y2,
        VARIANT * color = &vtMissing,
        VARIANT * boxfill = &vtMissing ) = 0;
    virtual HRESULT __stdcall EndDoc ( ) = 0;
    virtual HRESULT __stdcall KillDoc ( ) = 0;
    virtual HRESULT __stdcall NewPage ( ) = 0;
    virtual HRESULT __stdcall SelectPrinter ( ) = 0;
    virtual HRESULT __stdcall DrawCircle (
        float x,
        float y,
        float radius,
        VARIANT * color = &vtMissing,
        VARIANT * aspect = &vtMissing ) = 0;
    virtual HRESULT __stdcall DrawRect (
        float x1,
        float y1,
        float x2,
        float y2,
        VARIANT * color = &vtMissing ) = 0;
    virtual HRESULT __stdcall DrawRoundedRect (
        float x1,
        float y1,
        float x2,
        float y2,
        float corner_width,
        float corner_height,
        VARIANT * color = &vtMissing ) = 0;
    virtual HRESULT __stdcall DrawEllipse (
        float x1,
        float y1,
        float x2,
        float y2,
        VARIANT * color = &vtMissing ) = 0;
    virtual HRESULT __stdcall DrawText (
        BSTR string,
        VARIANT * x = &vtMissing,
        VARIANT * y = &vtMissing,
        VARIANT * count = &vtMissing ) = 0;
    virtual HRESULT __stdcall get_ScaleMode (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_ScaleMode (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_DrawStyle (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_DrawStyle (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_DrawWidth (
        float * pVal ) = 0;
    virtual HRESULT __stdcall put_DrawWidth (
        float pVal ) = 0;
    virtual HRESULT __stdcall get_FontBold (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_FontBold (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_FontItalic (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_FontItalic (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_FontBoldVal (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_FontBoldVal (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_FontName (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall put_FontName (
        BSTR pVal ) = 0;
    virtual HRESULT __stdcall get_FontSize (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_FontSize (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_FontStrikethru (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_FontStrikethru (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_FontUnderline (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_FontUnderline (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_TextX (
        float * pVal ) = 0;
    virtual HRESULT __stdcall put_TextX (
        float pVal ) = 0;
    virtual HRESULT __stdcall get_TextY (
        float * pVal ) = 0;
    virtual HRESULT __stdcall put_TextY (
        float pVal ) = 0;
    virtual HRESULT __stdcall get_Rotation (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_Rotation (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_JustifyHoriz (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_JustifyHoriz (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_JustifyVert (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_JustifyVert (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_ForeColor (
        unsigned long * pVal ) = 0;
    virtual HRESULT __stdcall put_ForeColor (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_IsColor (
        long * pVal ) = 0;
    virtual HRESULT __stdcall DrawPicture (
        BSTR picture,
        float x,
        float y,
        VARIANT * width = &vtMissing,
        VARIANT * height = &vtMissing,
        VARIANT * keepaspect = &vtMissing ) = 0;
    virtual HRESULT __stdcall DrawPoint (
        float x,
        float y,
        VARIANT * color = &vtMissing ) = 0;
    virtual HRESULT __stdcall get_FillStyle (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_FillStyle (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_FillColor (
        unsigned long * pVal ) = 0;
    virtual HRESULT __stdcall put_FillColor (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_PgIndentTop (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_PgIndentTop (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_PgIndentLeft (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_PgIndentLeft (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_GetStringWidth (
        BSTR string,
        float * pVal ) = 0;
    virtual HRESULT __stdcall get_GetStringHeight (
        BSTR string,
        float * pVal ) = 0;
    virtual HRESULT __stdcall get_PrPgWidth (
        float * pVal ) = 0;
    virtual HRESULT __stdcall get_PrPgHeight (
        float * pVal ) = 0;
    virtual HRESULT __stdcall get_PrOrientation (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_PrOrientation (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_PrLeftMargin (
        float * pVal ) = 0;
    virtual HRESULT __stdcall put_PrLeftMargin (
        float pVal ) = 0;
    virtual HRESULT __stdcall get_PrTopMargin (
        float * pVal ) = 0;
    virtual HRESULT __stdcall put_PrTopMargin (
        float pVal ) = 0;
    virtual HRESULT __stdcall get_PrRightMargin (
        float * pVal ) = 0;
    virtual HRESULT __stdcall put_PrRightMargin (
        float pVal ) = 0;
    virtual HRESULT __stdcall get_PrBottomMargin (
        float * pVal ) = 0;
    virtual HRESULT __stdcall put_PrBottomMargin (
        float pVal ) = 0;
    virtual HRESULT __stdcall get_PrPaperSelection (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_PrPaperSelection (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_PrPrintQuality (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_PrPrintQuality (
        long pVal ) = 0;
    virtual HRESULT __stdcall PrSetDefaults ( ) = 0;
    virtual HRESULT __stdcall get_StatusCheck (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_SetErrorLevel (
        long _arg1 ) = 0;
    virtual HRESULT __stdcall PrDialogBox (
        long Operation,
        long * Status ) = 0;
    virtual HRESULT __stdcall PrDialogBoxText (
        BSTR MainText,
        BSTR TitleText,
        BSTR CancelBtnText ) = 0;
    virtual HRESULT __stdcall ConvertCoord (
        float val,
        long fromscalemode,
        long toscalemode,
        float * pVal ) = 0;
    virtual HRESULT __stdcall get_GetVersion (
        long * pVal ) = 0;
    virtual HRESULT __stdcall get_About (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall Init (
        BSTR RegID,
        long * pSuccess ) = 0;
    virtual HRESULT __stdcall get_Capabilities (

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -