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

📄 connectionpoint.idl

📁 vxworks操作系统的源代码 供研究学习
💻 IDL
字号:
/* ConnectionPoint.idl - definition of connection-point interfaces *//* Copyright (c) 2000, Wind River Systems, Inc. *//*modification history--------------------01b,13jul01,dbs  fix imports for vxcom01a,10feb00,dbs  created from vxidl.idl*/import "comCoreTypes.idl";interface IConnectionPointContainer;interface IConnectionPoint;interface IEnumConnections;interface IEnumConnectionPoints;[    object,    uuid(B196B286-BAB4-101A-B69C-00AA00341D07),    pointer_default(unique)]interface IConnectionPoint : IUnknown    {    typedef IConnectionPoint * PCONNECTIONPOINT;    typedef IConnectionPoint * LPCONNECTIONPOINT;    HRESULT GetConnectionInterface	(        [out]           IID * piid	);    HRESULT GetConnectionPointContainer	(        [out]           IConnectionPointContainer ** ppCPC	);    HRESULT Advise	(        [in]    IUnknown * pUnkSink,        [out]   DWORD *    pdwCookie	);    HRESULT Unadvise	(        [in]    DWORD dwCookie	);    HRESULT EnumConnections	(        [out]   IEnumConnections ** ppEnum	);    }[    object,    uuid(B196B284-BAB4-101A-B69C-00AA00341D07),    pointer_default(unique)]interface IConnectionPointContainer : IUnknown    {    typedef IConnectionPointContainer * PCONNECTIONPOINTCONTAINER;    typedef IConnectionPointContainer * LPCONNECTIONPOINTCONTAINER;    HRESULT EnumConnectionPoints	(        [out]   IEnumConnectionPoints ** ppEnum	);    HRESULT FindConnectionPoint	(        [in]    REFIID riid,        [out]   IConnectionPoint ** ppCP	);    }[    object,    uuid(B196B287-BAB4-101A-B69C-00AA00341D07),    pointer_default(unique)]interface IEnumConnections : IUnknown    {    typedef IEnumConnections * PENUMCONNECTIONS;    typedef IEnumConnections * LPENUMCONNECTIONS;    typedef struct tagCONNECTDATA	{        IUnknown *  pUnk;        DWORD       dwCookie;	} CONNECTDATA;    typedef struct tagCONNECTDATA * PCONNECTDATA;    typedef struct tagCONNECTDATA * LPCONNECTDATA;    HRESULT Next	(	[in]                       ULONG           cConnections,	[out,	size_is(cConnections),	length_is(*lpcFetched)]    CONNECTDATA *   rgcd,	[out]                      ULONG *         lpcFetched	);    HRESULT Skip	(	[in]    ULONG cConnections	);    HRESULT Reset	(	void	);    HRESULT Clone	(	[out]   IEnumConnections ** ppEnum	);    }[    object,    uuid(B196B285-BAB4-101A-B69C-00AA00341D07),    pointer_default(unique)]interface IEnumConnectionPoints : IUnknown    {    typedef IEnumConnectionPoints * PENUMCONNECTIONPOINTS;    typedef IEnumConnectionPoints * LPENUMCONNECTIONPOINTS;    HRESULT Next	(        [in]                        ULONG               cConnections,        [out,         size_is(cConnections),         length_is(*lpcFetched)]    IConnectionPoint ** rgpcn,        [out]                       ULONG *             lpcFetched	);    HRESULT Skip	(        [in]    ULONG   cConnections	);    HRESULT Reset	(        void	);    HRESULT Clone	(        [out]   IEnumConnectionPoints **    ppEnum	);    }

⌨️ 快捷键说明

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