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

📄 es.tlh

📁 中间件编写示例 COM与.NET组件服务
💻 TLH
📖 第 1 页 / 共 2 页
字号:
        /*[in]*/ BSTR progID,
        /*[in]*/ IUnknown * pInterface ) = 0;
      virtual HRESULT __stdcall Remove (
        /*[in]*/ BSTR progID,
        /*[in]*/ BSTR queryCriteria,
        /*[out]*/ int * errorIndex ) = 0;
      virtual HRESULT __stdcall get_EventObjectChangeEventClassID (
        /*[out,retval]*/ BSTR * pbstrEventClassID ) = 0;
      virtual HRESULT __stdcall QueryS (
        /*[in]*/ BSTR progID,
        /*[in]*/ BSTR queryCriteria,
        /*[out,retval]*/ IUnknown * * ppInterface ) = 0;
      virtual HRESULT __stdcall RemoveS (
        /*[in]*/ BSTR progID,
        /*[in]*/ BSTR queryCriteria ) = 0;
};

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

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

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

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

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

      virtual HRESULT __stdcall ChangedSubscription (
        /*[in]*/ EOC_ChangeType changeType,
        /*[in]*/ BSTR bstrSubscriptionID ) = 0;
      virtual HRESULT __stdcall ChangedEventClass (
        /*[in]*/ EOC_ChangeType changeType,
        /*[in]*/ BSTR bstrEventClassID ) = 0;
      virtual HRESULT __stdcall ChangedPublisher (
        /*[in]*/ EOC_ChangeType changeType,
        /*[in]*/ 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 (
        /*[out,retval]*/ BSTR * propertyName ) = 0;
      virtual HRESULT __stdcall put_Name (
        /*[in]*/ BSTR propertyName ) = 0;
      virtual HRESULT __stdcall get_Value (
        /*[out,retval]*/ VARIANT * propertyValue ) = 0;
      virtual HRESULT __stdcall put_Value (
        /*[in]*/ VARIANT * propertyValue ) = 0;
};

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

      virtual HRESULT __stdcall get_PublisherID (
        /*[out,retval]*/ BSTR * pbstrPublisherID ) = 0;
      virtual HRESULT __stdcall put_PublisherID (
        /*[in]*/ BSTR pbstrPublisherID ) = 0;
      virtual HRESULT __stdcall get_MultiInterfacePublisherFilterCLSID (
        /*[out,retval]*/ BSTR * pbstrPubFilCLSID ) = 0;
      virtual HRESULT __stdcall put_MultiInterfacePublisherFilterCLSID (
        /*[in]*/ BSTR pbstrPubFilCLSID ) = 0;
      virtual HRESULT __stdcall get_AllowInprocActivation (
        /*[out,retval]*/ long * pfAllowInprocActivation ) = 0;
      virtual HRESULT __stdcall put_AllowInprocActivation (
        /*[in]*/ long pfAllowInprocActivation ) = 0;
      virtual HRESULT __stdcall get_FireInParallel (
        /*[out,retval]*/ long * pfFireInParallel ) = 0;
      virtual HRESULT __stdcall put_FireInParallel (
        /*[in]*/ long pfFireInParallel ) = 0;
};

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

      virtual HRESULT __stdcall get_FilterCriteria (
        /*[out,retval]*/ BSTR * pbstrFilterCriteria ) = 0;
      virtual HRESULT __stdcall put_FilterCriteria (
        /*[in]*/ BSTR pbstrFilterCriteria ) = 0;
      virtual HRESULT __stdcall get_SubscriberMoniker (
        /*[out,retval]*/ BSTR * pbstrMoniker ) = 0;
      virtual HRESULT __stdcall put_SubscriberMoniker (
        /*[in]*/ BSTR pbstrMoniker ) = 0;
};

struct __declspec(uuid("0343e2f5-86f6-11d1-b760-00c04fb926af"))
IMultiInterfaceEventControl : IUnknown
{
    //
    // Raw methods provided by interface
    //

      virtual HRESULT __stdcall SetMultiInterfacePublisherFilter (
        /*[in]*/ struct IMultiInterfacePublisherFilter * classFilter ) = 0;
      virtual HRESULT __stdcall GetSubscriptions (
        /*[in]*/ GUID * eventIID,
        /*[in]*/ BSTR bstrMethodName,
        /*[in]*/ BSTR optionalCriteria,
        /*[in]*/ int * optionalErrorIndex,
        /*[out,retval]*/ struct IEventObjectCollection * * ppCollection ) = 0;
      virtual HRESULT __stdcall SetDefaultQuery (
        /*[in]*/ GUID * eventIID,
        /*[in]*/ BSTR bstrMethodName,
        /*[in]*/ BSTR bstrCriteria,
        /*[out,retval]*/ int * errorIndex ) = 0;
      virtual HRESULT __stdcall get_AllowInprocActivation (
        /*[out,retval]*/ long * pfAllowInprocActivation ) = 0;
      virtual HRESULT __stdcall put_AllowInprocActivation (
        /*[in]*/ long pfAllowInprocActivation ) = 0;
      virtual HRESULT __stdcall get_FireInParallel (
        /*[out,retval]*/ long * pfFireInParallel ) = 0;
      virtual HRESULT __stdcall put_FireInParallel (
        /*[in]*/ long pfFireInParallel ) = 0;
};

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

      virtual HRESULT __stdcall Initialize (
        /*[in]*/ struct IMultiInterfaceEventControl * pEIC ) = 0;
      virtual HRESULT __stdcall PrepareToFire (
        /*[in]*/ GUID * iid,
        /*[in]*/ BSTR methodName,
        /*[in]*/ struct IFiringControl * firingControl ) = 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_IEventSubscription =
    {0x4a6b0e15,0x2e38,0x11d1,{0x99,0x65,0x00,0xc0,0x4f,0xbb,0xb3,0x45}};
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_IPublisherFilter =
    {0x465e5cc0,0x7b26,0x11d1,{0x88,0xfb,0x00,0x80,0xc7,0xd7,0x71,0xbf}};
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_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}};
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}};

#pragma pack(pop)

⌨️ 快捷键说明

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