// Created by Microsoft (R) C/C++ Compiler Version 12.00.8964.0 (2ea56c11).
//
// \\nt3\development\_distribution\swprint3\release\TTPMonitor.tlh
//
// C++ source equivalent of Win32 type library C:\Projects\Driver\Monitor\TTPMonitor1\TTPMonitor.tlb
// compiler-generated file created 11/04/05 at 16:32:32 - DO NOT EDIT!

#pragma once
#pragma pack(push, 8)

#include <comdef.h>

//
// Forward references and typedefs
//

struct /* coclass */ TTPMonitor;
struct __declspec(uuid("7c5c81c4-cc46-44cb-aed5-535a956a4912"))
/* dual interface */ ITTPMonitor;
struct __declspec(uuid("b6457b76-a22a-416e-8efd-c5ff3c064ae3"))
/* dual interface */ ITTPStatus;

//
// Smart pointer typedef declarations
//

_COM_SMARTPTR_TYPEDEF(ITTPMonitor, __uuidof(ITTPMonitor));
_COM_SMARTPTR_TYPEDEF(ITTPStatus, __uuidof(ITTPStatus));

//
// Type library items
//

struct __declspec(uuid("ff474b6a-e14c-4f4f-8582-dc8e40e4a447"))
TTPMonitor;
    // [ default ] interface ITTPMonitor
    // interface ITTPStatus

struct __declspec(uuid("7c5c81c4-cc46-44cb-aed5-535a956a4912"))
ITTPMonitor : IDispatch
{
    //
    // Property data
    //

    __declspec(property(put=PutCurrentPrinter))
    _bstr_t CurrentPrinter;
    __declspec(property(get=GetGetPrinterName))
    _bstr_t GetPrinterName;

    //
    // Wrapper methods for error-handling
    //

    void PutCurrentPrinter (
        _bstr_t _arg1 );
    _bstr_t GetGetPrinterName ( );
    _bstr_t getPrinterData (
        long id );
    int HexStrToI (
        _bstr_t bsHex );
    int GetENQ1 ( );
    int GetENQ6 ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall put_CurrentPrinter (
        BSTR _arg1 ) = 0;
    virtual HRESULT __stdcall get_GetPrinterName (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall raw_getPrinterData (
        long id,
        BSTR * retData ) = 0;
    virtual HRESULT __stdcall raw_HexStrToI (
        BSTR bsHex,
        int * iResult ) = 0;
    virtual HRESULT __stdcall raw_GetENQ1 (
        int * dStatus ) = 0;
    virtual HRESULT __stdcall raw_GetENQ6 (
        int * dStatus ) = 0;
};

struct __declspec(uuid("b6457b76-a22a-416e-8efd-c5ff3c064ae3"))
ITTPStatus : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetErrorEventName))
    _bstr_t ErrorEventName;
    __declspec(property(get=GetStatusEventName))
    _bstr_t StatusEventName;

    //
    // Wrapper methods for error-handling
    //

    _bstr_t GetErrorEventName ( );
    _bstr_t GetStatusEventName ( );
    HRESULT WaitForStatus (
        long dwMillisecond,
        long * dwReturn,
        long * dwResult );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_ErrorEventName (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall get_StatusEventName (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall raw_WaitForStatus (
        long dwMillisecond,
        long * dwReturn,
        long * dwResult ) = 0;
};

//
// Named GUID constants initializations
//

extern "C" const GUID __declspec(selectany) LIBID_TTPMONITORLib =
    {0xa027b9fe,0x05ef,0x4ee4,{0xb1,0x22,0x5f,0xb2,0x99,0x9f,0xe1,0x4c}};
extern "C" const GUID __declspec(selectany) CLSID_TTPMonitor =
    {0xff474b6a,0xe14c,0x4f4f,{0x85,0x82,0xdc,0x8e,0x40,0xe4,0xa4,0x47}};
extern "C" const GUID __declspec(selectany) IID_ITTPMonitor =
    {0x7c5c81c4,0xcc46,0x44cb,{0xae,0xd5,0x53,0x5a,0x95,0x6a,0x49,0x12}};
extern "C" const GUID __declspec(selectany) IID_ITTPStatus =
    {0xb6457b76,0xa22a,0x416e,{0x8e,0xfd,0xc5,0xff,0x3c,0x06,0x4a,0xe3}};

//
// Wrapper method implementations
//

#include "\\nt3\development\_distribution\swprint3\release\TTPMonitor.tli"

#pragma pack(pop)
