ocidl.h
来自「本源码是vc环境下的usb程序」· C头文件 代码 · 共 2,338 行 · 第 1/5 页
H
2,338 行
#define IEnumConnections_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IEnumConnections_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IEnumConnections_Release(This) \
(This)->lpVtbl -> Release(This)
#define IEnumConnections_Next(This,cConnections,rgcd,pcFetched) \
(This)->lpVtbl -> Next(This,cConnections,rgcd,pcFetched)
#define IEnumConnections_Skip(This,cConnections) \
(This)->lpVtbl -> Skip(This,cConnections)
#define IEnumConnections_Reset(This) \
(This)->lpVtbl -> Reset(This)
#define IEnumConnections_Clone(This,ppEnum) \
(This)->lpVtbl -> Clone(This,ppEnum)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumConnections_RemoteNext_Proxy(
IEnumConnections * This,
/* [in] */ ULONG cConnections,
/* [length_is][size_is][out] */ LPCONNECTDATA rgcd,
/* [out] */ ULONG *pcFetched);
void __RPC_STUB IEnumConnections_RemoteNext_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IEnumConnections_Skip_Proxy(
IEnumConnections * This,
/* [in] */ ULONG cConnections);
void __RPC_STUB IEnumConnections_Skip_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IEnumConnections_Reset_Proxy(
IEnumConnections * This);
void __RPC_STUB IEnumConnections_Reset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IEnumConnections_Clone_Proxy(
IEnumConnections * This,
/* [out] */ IEnumConnections **ppEnum);
void __RPC_STUB IEnumConnections_Clone_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IEnumConnections_INTERFACE_DEFINED__ */
#ifndef __IConnectionPoint_INTERFACE_DEFINED__
#define __IConnectionPoint_INTERFACE_DEFINED__
/* interface IConnectionPoint */
/* [unique][uuid][object] */
typedef IConnectionPoint *PCONNECTIONPOINT;
typedef IConnectionPoint *LPCONNECTIONPOINT;
EXTERN_C const IID IID_IConnectionPoint;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("B196B286-BAB4-101A-B69C-00AA00341D07")
IConnectionPoint : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE GetConnectionInterface(
/* [out] */ IID *pIID) = 0;
virtual HRESULT STDMETHODCALLTYPE GetConnectionPointContainer(
/* [out] */ IConnectionPointContainer **ppCPC) = 0;
virtual HRESULT STDMETHODCALLTYPE Advise(
/* [in] */ IUnknown *pUnkSink,
/* [out] */ DWORD *pdwCookie) = 0;
virtual HRESULT STDMETHODCALLTYPE Unadvise(
/* [in] */ DWORD dwCookie) = 0;
virtual HRESULT STDMETHODCALLTYPE EnumConnections(
/* [out] */ IEnumConnections **ppEnum) = 0;
};
#else /* C style interface */
typedef struct IConnectionPointVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IConnectionPoint * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IConnectionPoint * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IConnectionPoint * This);
HRESULT ( STDMETHODCALLTYPE *GetConnectionInterface )(
IConnectionPoint * This,
/* [out] */ IID *pIID);
HRESULT ( STDMETHODCALLTYPE *GetConnectionPointContainer )(
IConnectionPoint * This,
/* [out] */ IConnectionPointContainer **ppCPC);
HRESULT ( STDMETHODCALLTYPE *Advise )(
IConnectionPoint * This,
/* [in] */ IUnknown *pUnkSink,
/* [out] */ DWORD *pdwCookie);
HRESULT ( STDMETHODCALLTYPE *Unadvise )(
IConnectionPoint * This,
/* [in] */ DWORD dwCookie);
HRESULT ( STDMETHODCALLTYPE *EnumConnections )(
IConnectionPoint * This,
/* [out] */ IEnumConnections **ppEnum);
END_INTERFACE
} IConnectionPointVtbl;
interface IConnectionPoint
{
CONST_VTBL struct IConnectionPointVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IConnectionPoint_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IConnectionPoint_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IConnectionPoint_Release(This) \
(This)->lpVtbl -> Release(This)
#define IConnectionPoint_GetConnectionInterface(This,pIID) \
(This)->lpVtbl -> GetConnectionInterface(This,pIID)
#define IConnectionPoint_GetConnectionPointContainer(This,ppCPC) \
(This)->lpVtbl -> GetConnectionPointContainer(This,ppCPC)
#define IConnectionPoint_Advise(This,pUnkSink,pdwCookie) \
(This)->lpVtbl -> Advise(This,pUnkSink,pdwCookie)
#define IConnectionPoint_Unadvise(This,dwCookie) \
(This)->lpVtbl -> Unadvise(This,dwCookie)
#define IConnectionPoint_EnumConnections(This,ppEnum) \
(This)->lpVtbl -> EnumConnections(This,ppEnum)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE IConnectionPoint_GetConnectionInterface_Proxy(
IConnectionPoint * This,
/* [out] */ IID *pIID);
void __RPC_STUB IConnectionPoint_GetConnectionInterface_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IConnectionPoint_GetConnectionPointContainer_Proxy(
IConnectionPoint * This,
/* [out] */ IConnectionPointContainer **ppCPC);
void __RPC_STUB IConnectionPoint_GetConnectionPointContainer_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IConnectionPoint_Advise_Proxy(
IConnectionPoint * This,
/* [in] */ IUnknown *pUnkSink,
/* [out] */ DWORD *pdwCookie);
void __RPC_STUB IConnectionPoint_Advise_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IConnectionPoint_Unadvise_Proxy(
IConnectionPoint * This,
/* [in] */ DWORD dwCookie);
void __RPC_STUB IConnectionPoint_Unadvise_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IConnectionPoint_EnumConnections_Proxy(
IConnectionPoint * This,
/* [out] */ IEnumConnections **ppEnum);
void __RPC_STUB IConnectionPoint_EnumConnections_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IConnectionPoint_INTERFACE_DEFINED__ */
#ifndef __IEnumConnectionPoints_INTERFACE_DEFINED__
#define __IEnumConnectionPoints_INTERFACE_DEFINED__
/* interface IEnumConnectionPoints */
/* [unique][uuid][object] */
typedef IEnumConnectionPoints *PENUMCONNECTIONPOINTS;
typedef IEnumConnectionPoints *LPENUMCONNECTIONPOINTS;
EXTERN_C const IID IID_IEnumConnectionPoints;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("B196B285-BAB4-101A-B69C-00AA00341D07")
IEnumConnectionPoints : public IUnknown
{
public:
virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next(
/* [in] */ ULONG cConnections,
/* [length_is][size_is][out] */ LPCONNECTIONPOINT *ppCP,
/* [out] */ ULONG *pcFetched) = 0;
virtual HRESULT STDMETHODCALLTYPE Skip(
/* [in] */ ULONG cConnections) = 0;
virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
virtual HRESULT STDMETHODCALLTYPE Clone(
/* [out] */ IEnumConnectionPoints **ppEnum) = 0;
};
#else /* C style interface */
typedef struct IEnumConnectionPointsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IEnumConnectionPoints * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IEnumConnectionPoints * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IEnumConnectionPoints * This);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
IEnumConnectionPoints * This,
/* [in] */ ULONG cConnections,
/* [length_is][size_is][out] */ LPCONNECTIONPOINT *ppCP,
/* [out] */ ULONG *pcFetched);
HRESULT ( STDMETHODCALLTYPE *Skip )(
IEnumConnectionPoints * This,
/* [in] */ ULONG cConnections);
HRESULT ( STDMETHODCALLTYPE *Reset )(
IEnumConnectionPoints * This);
HRESULT ( STDMETHODCALLTYPE *Clone )(
IEnumConnectionPoints * This,
/* [out] */ IEnumConnectionPoints **ppEnum);
END_INTERFACE
} IEnumConnectionPointsVtbl;
interface IEnumConnectionPoints
{
CONST_VTBL struct IEnumConnectionPointsVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IEnumConnectionPoints_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IEnumConnectionPoints_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IEnumConnectionPoints_Release(This) \
(This)->lpVtbl -> Release(This)
#define IEnumConnectionPoints_Next(This,cConnections,ppCP,pcFetched) \
(This)->lpVtbl -> Next(This,cConnections,ppCP,pcFetched)
#define IEnumConnectionPoints_Skip(This,cConnections) \
(This)->lpVtbl -> Skip(This,cConnections)
#define IEnumConnectionPoints_Reset(This) \
(This)->lpVtbl -> Reset(This)
#define IEnumConnectionPoints_Clone(This,ppEnum) \
(This)->lpVtbl -> Clone(This,ppEnum)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_RemoteNext_Proxy(
IEnumConnectionPoints * This,
/* [in] */ ULONG cConnections,
/* [length_is][size_is][out] */ LPCONNECTIONPOINT *ppCP,
/* [out] */ ULONG *pcFetched);
void __RPC_STUB IEnumConnectionPoints_RemoteNext_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_Skip_Proxy(
IEnumConnectionPoints * This,
/* [in] */ ULONG cConnections);
void __RPC_STUB IEnumConnectionPoints_Skip_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_Reset_Proxy(
IEnumConnectionPoints * This);
void __RPC_STUB IEnumConnectionPoints_Reset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IEnumConnectionPoints_Clone_Proxy(
IEnumConnectionPoints * This,
/* [out] */ IEnumConnectionPoints **ppEnum);
void __RPC_STUB IEnumConnectionPoints_Clone_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IEnumConnectionPoints_INTERFACE_DEFINED__ */
#ifndef __IConnectionPointContainer_INTERFACE_DEFINED__
#define __IConnectionPointContainer_INTERFACE_DEFINED__
/* interface IConnectionPointContainer */
/* [unique][uuid][object] */
typedef IConnectionPointContainer *PCONNECTIONPOINTCONTAINER;
typedef IConnectionPointContainer *LPCONNECTIONPOINTCONTAINER;
EXTERN_C const IID IID_IConnectionPointContainer;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("B196B284-BAB4-101A-B69C-00AA00341D07")
IConnectionPointContainer : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE EnumConnectionPoints(
/* [out] */ IEnumConnectionPoints **ppEnum) = 0;
virtual HRESULT STDMETHODCALLTYPE FindConnectionPoint(
/* [in] */ REFIID riid,
/* [out] */ IConnectionPoint **ppCP) = 0;
};
#else /* C style interface */
typedef struct IConnectionPointContainerVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IConnectionPointContainer * This,
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?