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

📄 es.tlh

📁 中间件编写示例 COM与.NET组件服务
💻 TLH
📖 第 1 页 / 共 2 页
字号:
    virtual HRESULT __stdcall SetDefaultQuery (
        GUID * eventIID,
        BSTR bstrMethodName,
        BSTR bstrCriteria,
        int * errorIndex ) = 0;
    virtual HRESULT __stdcall get_AllowInprocActivation (
        long * pfAllowInprocActivation ) = 0;
    virtual HRESULT __stdcall put_AllowInprocActivation (
        long pfAllowInprocActivation ) = 0;
    virtual HRESULT __stdcall get_FireInParallel (
        long * pfFireInParallel ) = 0;
    virtual HRESULT __stdcall put_FireInParallel (
        long pfFireInParallel ) = 0;
};

struct __declspec(uuid("465e5cc1-7b26-11d1-88fb-0080c7d771bf"))
IMultiInterfacePublisherFilter : IUnknown
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall Initialize (
        struct IMultiInterfaceEventControl * pEIC ) = 0;
    virtual HRESULT __stdcall PrepareToFire (
        GUID * iid,
        BSTR methodName,
        struct IFiringControl * firingControl ) = 0;
};

struct __declspec(uuid("4e14fb9f-2e22-11d1-9964-00c04fbbb345"))
IEventSystem : IDispatch
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall Query (
        BSTR progID,
        BSTR queryCriteria,
        int * errorIndex,
        IUnknown * * ppInterface ) = 0;
    virtual HRESULT __stdcall Store (
        BSTR progID,
        IUnknown * pInterface ) = 0;
    virtual HRESULT __stdcall Remove (
        BSTR progID,
        BSTR queryCriteria,
        int * errorIndex ) = 0;
    virtual HRESULT __stdcall get_EventObjectChangeEventClassID (
        BSTR * pbstrEventClassID ) = 0;
    virtual HRESULT __stdcall QueryS (
        BSTR progID,
        BSTR queryCriteria,
        IUnknown * * ppInterface ) = 0;
    virtual HRESULT __stdcall RemoveS (
        BSTR progID,
        BSTR queryCriteria ) = 0;
};

struct __declspec(uuid("e341516b-2e32-11d1-9964-00c04fbbb345"))
IEventPublisher : IDispatch
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_PublisherID (
        BSTR * pbstrPublisherID ) = 0;
    virtual HRESULT __stdcall put_PublisherID (
        BSTR pbstrPublisherID ) = 0;
    virtual HRESULT __stdcall get_PublisherName (
        BSTR * pbstrPublisherName ) = 0;
    virtual HRESULT __stdcall put_PublisherName (
        BSTR pbstrPublisherName ) = 0;
    virtual HRESULT __stdcall get_PublisherType (
        BSTR * pbstrPublisherType ) = 0;
    virtual HRESULT __stdcall put_PublisherType (
        BSTR pbstrPublisherType ) = 0;
    virtual HRESULT __stdcall get_OwnerSID (
        BSTR * pbstrOwnerSID ) = 0;
    virtual HRESULT __stdcall put_OwnerSID (
        BSTR pbstrOwnerSID ) = 0;
    virtual HRESULT __stdcall get_Description (
        BSTR * pbstrDescription ) = 0;
    virtual HRESULT __stdcall put_Description (
        BSTR pbstrDescription ) = 0;
    virtual HRESULT __stdcall GetDefaultProperty (
        BSTR bstrPropertyName,
        VARIANT * propertyValue ) = 0;
    virtual HRESULT __stdcall PutDefaultProperty (
        BSTR bstrPropertyName,
        VARIANT * propertyValue ) = 0;
    virtual HRESULT __stdcall RemoveDefaultProperty (
        BSTR bstrPropertyName ) = 0;
    virtual HRESULT __stdcall GetDefaultPropertyCollection (
        struct IEventObjectCollection * * collection ) = 0;
};

struct __declspec(uuid("fb2b72a0-7a68-11d1-88f9-0080c7d771bf"))
IEventClass : IDispatch
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_EventClassID (
        BSTR * pbstrEventClassID ) = 0;
    virtual HRESULT __stdcall put_EventClassID (
        BSTR pbstrEventClassID ) = 0;
    virtual HRESULT __stdcall get_EventClassName (
        BSTR * pbstrEventClassName ) = 0;
    virtual HRESULT __stdcall put_EventClassName (
        BSTR pbstrEventClassName ) = 0;
    virtual HRESULT __stdcall get_OwnerSID (
        BSTR * pbstrOwnerSID ) = 0;
    virtual HRESULT __stdcall put_OwnerSID (
        BSTR pbstrOwnerSID ) = 0;
    virtual HRESULT __stdcall get_FiringInterfaceID (
        BSTR * pbstrFiringInterfaceID ) = 0;
    virtual HRESULT __stdcall put_FiringInterfaceID (
        BSTR pbstrFiringInterfaceID ) = 0;
    virtual HRESULT __stdcall get_Description (
        BSTR * pbstrDescription ) = 0;
    virtual HRESULT __stdcall put_Description (
        BSTR pbstrDescription ) = 0;
    virtual HRESULT __stdcall get_CustomConfigCLSID (
        BSTR * pbstrCustomConfigCLSID ) = 0;
    virtual HRESULT __stdcall put_CustomConfigCLSID (
        BSTR pbstrCustomConfigCLSID ) = 0;
    virtual HRESULT __stdcall get_TypeLib (
        BSTR * pbstrTypeLib ) = 0;
    virtual HRESULT __stdcall put_TypeLib (
        BSTR pbstrTypeLib ) = 0;
};

struct __declspec(uuid("f4a07d70-2e25-11d1-9964-00c04fbbb345"))
IEventObjectChange : IUnknown
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall ChangedSubscription (
        EOC_ChangeType changeType,
        BSTR bstrSubscriptionID ) = 0;
    virtual HRESULT __stdcall ChangedEventClass (
        EOC_ChangeType changeType,
        BSTR bstrEventClassID ) = 0;
    virtual HRESULT __stdcall ChangedPublisher (
        EOC_ChangeType changeType,
        BSTR bstrPublisherID ) = 0;
};

enum __MIDL_IEventObjectChange_0001
{
    EOC_NewObject = 0,
    EOC_ModifiedObject = 1,
    EOC_DeletedObject = 2
};

struct __declspec(uuid("da538ee2-f4de-11d1-b6bb-00805fc79216"))
IEventProperty : IDispatch
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Name (
        BSTR * propertyName ) = 0;
    virtual HRESULT __stdcall put_Name (
        BSTR propertyName ) = 0;
    virtual HRESULT __stdcall get_Value (
        VARIANT * propertyValue ) = 0;
    virtual HRESULT __stdcall put_Value (
        VARIANT * propertyValue ) = 0;
};

struct __declspec(uuid("fb2b72a1-7a68-11d1-88f9-0080c7d771bf"))
IEventClass2 : IEventClass
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_PublisherID (
        BSTR * pbstrPublisherID ) = 0;
    virtual HRESULT __stdcall put_PublisherID (
        BSTR pbstrPublisherID ) = 0;
    virtual HRESULT __stdcall get_MultiInterfacePublisherFilterCLSID (
        BSTR * pbstrPubFilCLSID ) = 0;
    virtual HRESULT __stdcall put_MultiInterfacePublisherFilterCLSID (
        BSTR pbstrPubFilCLSID ) = 0;
    virtual HRESULT __stdcall get_AllowInprocActivation (
        long * pfAllowInprocActivation ) = 0;
    virtual HRESULT __stdcall put_AllowInprocActivation (
        long pfAllowInprocActivation ) = 0;
    virtual HRESULT __stdcall get_FireInParallel (
        long * pfFireInParallel ) = 0;
    virtual HRESULT __stdcall put_FireInParallel (
        long pfFireInParallel ) = 0;
};

struct __declspec(uuid("4a6b0e16-2e38-11d1-9965-00c04fbbb345"))
IEventSubscription2 : IEventSubscription
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_FilterCriteria (
        BSTR * pbstrFilterCriteria ) = 0;
    virtual HRESULT __stdcall put_FilterCriteria (
        BSTR pbstrFilterCriteria ) = 0;
    virtual HRESULT __stdcall get_SubscriberMoniker (
        BSTR * pbstrMoniker ) = 0;
    virtual HRESULT __stdcall put_SubscriberMoniker (
        BSTR pbstrMoniker ) = 0;
};

//
// Named GUID constants initializations
//

extern "C" const GUID __declspec(selectany) LIBID_EventSystemLib =
    {0x4e14fb90,0x2e22,0x11d1,{0x99,0x64,0x00,0xc0,0x4f,0xbb,0xb3,0x45}};
extern "C" const GUID __declspec(selectany) IID_IEnumEventObject =
    {0xf4a07d63,0x2e25,0x11d1,{0x99,0x64,0x00,0xc0,0x4f,0xbb,0xb3,0x45}};
extern "C" const GUID __declspec(selectany) IID_IEventObjectCollection =
    {0xf89ac270,0xd4eb,0x11d1,{0xb6,0x82,0x00,0x80,0x5f,0xc7,0x92,0x16}};
extern "C" const GUID __declspec(selectany) IID_IEventControl =
    {0x0343e2f4,0x86f6,0x11d1,{0xb7,0x60,0x00,0xc0,0x4f,0xb9,0x26,0xaf}};
extern "C" const GUID __declspec(selectany) IID_IPublisherFilter =
    {0x465e5cc0,0x7b26,0x11d1,{0x88,0xfb,0x00,0x80,0xc7,0xd7,0x71,0xbf}};
extern "C" const GUID __declspec(selectany) IID_IFiringControl =
    {0xe0498c93,0x4efe,0x11d1,{0x99,0x71,0x00,0xc0,0x4f,0xbb,0xb3,0x45}};
extern "C" const GUID __declspec(selectany) IID_IEventSubscription =
    {0x4a6b0e15,0x2e38,0x11d1,{0x99,0x65,0x00,0xc0,0x4f,0xbb,0xb3,0x45}};
extern "C" const GUID __declspec(selectany) IID_IMultiInterfaceEventControl =
    {0x0343e2f5,0x86f6,0x11d1,{0xb7,0x60,0x00,0xc0,0x4f,0xb9,0x26,0xaf}};
extern "C" const GUID __declspec(selectany) IID_IMultiInterfacePublisherFilter =
    {0x465e5cc1,0x7b26,0x11d1,{0x88,0xfb,0x00,0x80,0xc7,0xd7,0x71,0xbf}};
extern "C" const GUID __declspec(selectany) IID_IEventSystem =
    {0x4e14fb9f,0x2e22,0x11d1,{0x99,0x64,0x00,0xc0,0x4f,0xbb,0xb3,0x45}};
extern "C" const GUID __declspec(selectany) IID_IEventPublisher =
    {0xe341516b,0x2e32,0x11d1,{0x99,0x64,0x00,0xc0,0x4f,0xbb,0xb3,0x45}};
extern "C" const GUID __declspec(selectany) IID_IEventClass =
    {0xfb2b72a0,0x7a68,0x11d1,{0x88,0xf9,0x00,0x80,0xc7,0xd7,0x71,0xbf}};
extern "C" const GUID __declspec(selectany) IID_IEventObjectChange =
    {0xf4a07d70,0x2e25,0x11d1,{0x99,0x64,0x00,0xc0,0x4f,0xbb,0xb3,0x45}};
extern "C" const GUID __declspec(selectany) IID_IEventProperty =
    {0xda538ee2,0xf4de,0x11d1,{0xb6,0xbb,0x00,0x80,0x5f,0xc7,0x92,0x16}};
extern "C" const GUID __declspec(selectany) IID_IEventClass2 =
    {0xfb2b72a1,0x7a68,0x11d1,{0x88,0xf9,0x00,0x80,0xc7,0xd7,0x71,0xbf}};
extern "C" const GUID __declspec(selectany) IID_IEventSubscription2 =
    {0x4a6b0e16,0x2e38,0x11d1,{0x99,0x65,0x00,0xc0,0x4f,0xbb,0xb3,0x45}};

#pragma pack(pop)

⌨️ 快捷键说明

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