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

📄 prenginece.tlh

📁 WinCE PDA打印机测试程序
💻 TLH
📖 第 1 页 / 共 2 页
字号:
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_SetReportLevel (
        long _arg1 ) = 0;
    virtual HRESULT __stdcall SetupPrinter (
        long Printer,
        long Port,
        long Baudrate,
        long * pSuccess ) = 0;
    virtual HRESULT __stdcall SetupPaper (
        long PaperSize,
        long Orientation,
        float PaperWidth,
        float PaperHeight,
        float LeftMgn,
        float TopMgn,
        float RightMgn,
        float BottomMgn,
        long * pSuccess ) = 0;
    virtual HRESULT __stdcall SetupPrinterOther (
        long FFSetting,
        float FFScroll,
        long Density,
        long Handshake,
        long AutoSpeed,
        long Compressed,
        long Dither,
        long DraftMode,
        long * pSuccess ) = 0;
    virtual HRESULT __stdcall SetupNetPath (
        BSTR NetPath,
        long * pSuccess ) = 0;
};

struct __declspec(uuid("3aba8790-3940-11d3-90ff-00a0cc275e38"))
BarcodeCE;
    // [ default ] interface IBarcodeCE

struct __declspec(uuid("25ed2f20-3940-11d3-90ff-00a0cc275e38"))
IBarcodeCE : IDispatch
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall DrawPostnet (
        BSTR bcstr,
        float x,
        float y,
        long withtext,
        float * wd ) = 0;
    virtual HRESULT __stdcall Draw2of5 (
        BSTR bcstr,
        float x,
        float y,
        long withtext,
        long type2of5,
        long fit,
        float * wd ) = 0;
    virtual HRESULT __stdcall DrawCode39 (
        BSTR bcstr,
        float x,
        float y,
        long withtext,
        long type39,
        long fit,
        long extended,
        float * wd ) = 0;
    virtual HRESULT __stdcall DrawCodabar (
        BSTR bcstr,
        float x,
        float y,
        long withtext,
        long typecodabar,
        long fit,
        float * wd ) = 0;
    virtual HRESULT __stdcall DrawCode128 (
        BSTR bcstr,
        float x,
        float y,
        long withtext,
        long type128,
        long fit,
        float * wd ) = 0;
    virtual HRESULT __stdcall DrawCode93 (
        BSTR bcstr,
        float x,
        float y,
        long withtext,
        long fit,
        long extended,
        float * wd ) = 0;
    virtual HRESULT __stdcall DrawMSI (
        BSTR bcstr,
        float x,
        float y,
        long withtext,
        long typeMSI,
        long fit,
        float * wd ) = 0;
    virtual HRESULT __stdcall DrawUPC (
        BSTR leftstr,
        BSTR rightstr,
        BSTR xtrastr,
        float x,
        float y,
        long withtext,
        long typeUPC,
        long UPCsystem,
        long fit,
        float * wd ) = 0;
    virtual HRESULT __stdcall get_BarCodeHeight (
        long BarcodeType,
        long withtext,
        float * pVal ) = 0;
};

struct __declspec(uuid("77821295-e7c0-4bc9-a456-90af9e8b8000"))
AsciiCE;
    // [ default ] interface IAsciiCE

struct __declspec(uuid("4e353865-cee3-4044-8787-c6beb4294bf4"))
IAsciiCE : IDispatch
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall CrLf ( ) = 0;
    virtual HRESULT __stdcall Char (
        long ch ) = 0;
    virtual HRESULT __stdcall RepeatChar (
        long ch,
        long repeatcnt ) = 0;
    virtual HRESULT __stdcall FormFeed ( ) = 0;
    virtual HRESULT __stdcall SelectPort (
        long Port,
        long Baudrate,
        long Handshake,
        long * ErrVal ) = 0;
    virtual HRESULT __stdcall Init (
        BSTR RegID,
        long * pSuccess ) = 0;
    virtual HRESULT __stdcall ClosePort ( ) = 0;
    virtual HRESULT __stdcall Text (
        BSTR TextString ) = 0;
    virtual HRESULT __stdcall get_Capabilities (
        long * pVal ) = 0;
};

struct __declspec(uuid("c37aea60-a7ca-40be-a2e6-935eb3993bbe"))
AsciiCE2;
    // [ default ] interface IAsciiCE2

struct __declspec(uuid("bf03f317-6033-4e3e-89d8-d7cc62d47d6b"))
IAsciiCE2 : IDispatch
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall CrLf ( ) = 0;
    virtual HRESULT __stdcall Char (
        long ch ) = 0;
    virtual HRESULT __stdcall RepeatChar (
        long ch,
        long repeatcnt ) = 0;
    virtual HRESULT __stdcall FormFeed ( ) = 0;
    virtual HRESULT __stdcall SelectPort (
        long Port,
        long Baudrate,
        long Handshake,
        long * ErrVal ) = 0;
    virtual HRESULT __stdcall Init (
        BSTR RegID,
        long * pSuccess ) = 0;
    virtual HRESULT __stdcall ClosePort ( ) = 0;
    virtual HRESULT __stdcall Text (
        BSTR TextString ) = 0;
    virtual HRESULT __stdcall get_Capabilities (
        long * pVal ) = 0;
    virtual HRESULT __stdcall get_Peek (
        long * pVal ) = 0;
    virtual HRESULT __stdcall get_StatusCheck (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_SetErrorLevel (
        long _arg1 ) = 0;
    virtual HRESULT __stdcall put_SetReportLevel (
        long _arg1 ) = 0;
    virtual HRESULT __stdcall get_GetVersion (
        long * pVal ) = 0;
    virtual HRESULT __stdcall get_About (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall PrDialogBox (
        long Operation,
        long * Status ) = 0;
    virtual HRESULT __stdcall PrDialogBoxText (
        BSTR MainText,
        BSTR TitleText,
        BSTR CancelBtnText ) = 0;
    virtual HRESULT __stdcall SelectPortEx (
        long Port,
        long Baudrate,
        long Handshake,
        long ReadBufferSize,
        long * ErrVal ) = 0;
    virtual HRESULT __stdcall ReadChar (
        short * bval ) = 0;
    virtual HRESULT __stdcall ReadString (
        long nMaxChars,
        long nLastChar,
        long nModeFlags,
        long nTimeToWait,
        long * lpResultFlags,
        long * lpCharsRead,
        BSTR * lpString ) = 0;
    virtual HRESULT __stdcall Read (
        long nMaxBytes,
        long nLastChar,
        long nModeFlags,
        long nTimeToWait,
        long * lpResultFlags,
        long * lpBytesRead,
        unsigned char * lpBuffer ) = 0;
    virtual HRESULT __stdcall ReadVar (
        long nMaxBytes,
        long nLastChar,
        long nModeFlags,
        long nTimeToWait,
        VARIANT * lpResultFlags,
        VARIANT * lpBytesRead,
        VARIANT * lpBuffer ) = 0;
    virtual HRESULT __stdcall ReadStringVar (
        long nMaxChars,
        long nLastChar,
        long nModeFlags,
        long nTimeToWait,
        VARIANT * lpResultFlags,
        VARIANT * lpCharsRead,
        BSTR * lpString ) = 0;
    virtual HRESULT __stdcall Write (
        unsigned char * lpBuffer,
        long nNumberOfBytesToWrite,
        long * lpNumberOfBytesWritten ) = 0;
    virtual HRESULT __stdcall WriteVar (
        VARIANT * lpBuffer,
        long nNumberOfBytesToWrite,
        VARIANT * lpNumberOfBytesWritten ) = 0;
};

#pragma pack(pop)

⌨️ 快捷键说明

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