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

📄 opcenum.tlh

📁 OPC 规范
💻 TLH
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (423aaf18).
//
// OpcEnum.tlh
//
// C++ source equivalent of Win32 type library C:\WINNT\system32\OpcEnum.exe
// compiler-generated file created 11/24/05 at 09:55:02 - DO NOT EDIT!

#pragma once
#pragma pack(push, 8)

#include <comdef.h>

//
// Forward references and typedefs
//

struct /* coclass */ OpcServerList;
struct __declspec(uuid("9dd0b56c-ad9e-43ee-8305-487f3188bf7a"))
/* interface */ IOPCServerList2;
struct __declspec(uuid("55c382c8-21c7-4e88-96c1-becfb1e3f483"))
/* interface */ IOPCEnumGUID;
struct __declspec(uuid("13486d50-4821-11d2-a494-3cb306c10000"))
/* interface */ IOPCServerList;

//
// Smart pointer typedef declarations
//

_COM_SMARTPTR_TYPEDEF(IOPCServerList2, __uuidof(IOPCServerList2));
_COM_SMARTPTR_TYPEDEF(IOPCEnumGUID, __uuidof(IOPCEnumGUID));
_COM_SMARTPTR_TYPEDEF(IOPCServerList, __uuidof(IOPCServerList));

//
// Type library items
//

struct __declspec(uuid("13486d51-4821-11d2-a494-3cb306c10000"))
OpcServerList;
    // [ default ] interface IOPCServerList2
    // interface IOPCServerList

struct __declspec(uuid("9dd0b56c-ad9e-43ee-8305-487f3188bf7a"))
IOPCServerList2 : IUnknown
{
    //
    // Wrapper methods for error-handling
    //

    HRESULT EnumClassesOfCategories (
        unsigned long cImplemented,
        GUID * rgcatidImpl,
        unsigned long cRequired,
        GUID * rgcatidReq,
        struct IOPCEnumGUID * * ppenumClsid );
    HRESULT GetClassDetails (
        GUID * clsid,
        LPWSTR * ppszProgID,
        LPWSTR * ppszUserType,
        LPWSTR * ppszVerIndProgID );
    HRESULT CLSIDFromProgID (
        LPWSTR szProgId,
        GUID * clsid );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_EnumClassesOfCategories (
        unsigned long cImplemented,
        GUID * rgcatidImpl,
        unsigned long cRequired,
        GUID * rgcatidReq,
        struct IOPCEnumGUID * * ppenumClsid ) = 0;
    virtual HRESULT __stdcall raw_GetClassDetails (
        GUID * clsid,
        LPWSTR * ppszProgID,
        LPWSTR * ppszUserType,
        LPWSTR * ppszVerIndProgID ) = 0;
    virtual HRESULT __stdcall raw_CLSIDFromProgID (
        LPWSTR szProgId,
        GUID * clsid ) = 0;
};

struct __declspec(uuid("55c382c8-21c7-4e88-96c1-becfb1e3f483"))
IOPCEnumGUID : IUnknown
{
    //
    // Wrapper methods for error-handling
    //

    HRESULT Next (
        unsigned long celt,
        GUID * rgelt,
        unsigned long * pceltFetched );
    HRESULT Skip (
        unsigned long celt );
    HRESULT Reset ( );
    HRESULT Clone (
        struct IOPCEnumGUID * * ppenum );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_Next (
        unsigned long celt,
        GUID * rgelt,
        unsigned long * pceltFetched ) = 0;
    virtual HRESULT __stdcall raw_Skip (
        unsigned long celt ) = 0;
    virtual HRESULT __stdcall raw_Reset ( ) = 0;
    virtual HRESULT __stdcall raw_Clone (
        struct IOPCEnumGUID * * ppenum ) = 0;
};

struct __declspec(uuid("13486d50-4821-11d2-a494-3cb306c10000"))
IOPCServerList : IUnknown
{
    //
    // Wrapper methods for error-handling
    //

    HRESULT EnumClassesOfCategories (
        unsigned long cImplemented,
        GUID * rgcatidImpl,
        unsigned long cRequired,
        GUID * rgcatidReq,
        struct IEnumGUID * * ppenumClsid );
    HRESULT GetClassDetails (
        GUID * clsid,
        LPWSTR * ppszProgID,
        LPWSTR * ppszUserType );
    HRESULT CLSIDFromProgID (
        LPWSTR szProgId,
        GUID * clsid );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_EnumClassesOfCategories (
        unsigned long cImplemented,
        GUID * rgcatidImpl,
        unsigned long cRequired,
        GUID * rgcatidReq,
        struct IEnumGUID * * ppenumClsid ) = 0;
    virtual HRESULT __stdcall raw_GetClassDetails (
        GUID * clsid,
        LPWSTR * ppszProgID,
        LPWSTR * ppszUserType ) = 0;
    virtual HRESULT __stdcall raw_CLSIDFromProgID (
        LPWSTR szProgId,
        GUID * clsid ) = 0;
};

//
// Wrapper method implementations
//

#include "OpcEnum.tli"

#pragma pack(pop)

⌨️ 快捷键说明

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