RemUnknown.h
上传用户:baixin
上传日期:2008-03-13
资源大小:4795k
文件大小:3k
- /* RemUnknown.h generated by WIDL Version 2.2.1 on 06-Dec-01 at 11:54:11 AM */
- #include "comBase.h"
- #ifndef __INCRemUnknown_h
- #define __INCRemUnknown_h
- #include "orpc.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- int include_RemUnknown (void);
- #ifndef __IRemUnknown_FWD_DEFINED__
- #define __IRemUnknown_FWD_DEFINED__
- typedef interface IRemUnknown IRemUnknown;
- #endif /* __IRemUnknown_FWD_DEFINED__ */
- struct tagREMQIRESULT
- {
- HRESULT hResult;
- STDOBJREF std;
- };
- typedef struct tagREMQIRESULT REMQIRESULT;
- struct tagREMINTERFACEREF
- {
- IPID ipid;
- unsigned long cPublicRefs;
- unsigned long cPrivateRefs;
- };
- typedef struct tagREMINTERFACEREF REMINTERFACEREF;
- typedef struct
- {
- COM_VTBL_BEGIN
- COM_VTBL_ENTRY (HRESULT, QueryInterface, (IUnknown* pThis, REFIID riid, void** ppvObject));
- #define IUnknown_QueryInterface(pThis, riid, ppvObject) pThis->lpVtbl->QueryInterface(COM_ADJUST_THIS(pThis), riid, ppvObject)
- COM_VTBL_ENTRY (ULONG, AddRef, (IUnknown* pThis));
- #define IUnknown_AddRef(pThis) pThis->lpVtbl->AddRef(COM_ADJUST_THIS(pThis))
- COM_VTBL_ENTRY (ULONG, Release, (IUnknown* pThis));
- #define IUnknown_Release(pThis) pThis->lpVtbl->Release(COM_ADJUST_THIS(pThis))
- COM_VTBL_ENTRY (HRESULT, RemQueryInterface, (IRemUnknown* pThis, REFIPID ipid, unsigned long cRefs, unsigned short cIids, const IID* iids, REMQIRESULT** ppQIResults));
- #define IRemUnknown_RemQueryInterface(pThis, ipid, cRefs, cIids, iids, ppQIResults) pThis->lpVtbl->RemQueryInterface(COM_ADJUST_THIS(pThis), ipid, cRefs, cIids, iids, ppQIResults)
- COM_VTBL_ENTRY (HRESULT, RemAddRef, (IRemUnknown* pThis, unsigned short cInterfaceRefs, REMINTERFACEREF* InterfaceRefs, HRESULT* pResults));
- #define IRemUnknown_RemAddRef(pThis, cInterfaceRefs, InterfaceRefs, pResults) pThis->lpVtbl->RemAddRef(COM_ADJUST_THIS(pThis), cInterfaceRefs, InterfaceRefs, pResults)
- COM_VTBL_ENTRY (HRESULT, RemRelease, (IRemUnknown* pThis, unsigned short cInterfaceRefs, REMINTERFACEREF* InterfaceRefs));
- #define IRemUnknown_RemRelease(pThis, cInterfaceRefs, InterfaceRefs) pThis->lpVtbl->RemRelease(COM_ADJUST_THIS(pThis), cInterfaceRefs, InterfaceRefs)
- COM_VTBL_END
- } IRemUnknownVtbl;
- #ifdef __cplusplus
- interface IRemUnknown : public IUnknown
- {
- virtual HRESULT RemQueryInterface (REFIPID ipid, unsigned long cRefs, unsigned short cIids, const IID* iids, REMQIRESULT** ppQIResults) =0;
- virtual HRESULT RemAddRef (unsigned short cInterfaceRefs, REMINTERFACEREF* InterfaceRefs, HRESULT* pResults) =0;
- virtual HRESULT RemRelease (unsigned short cInterfaceRefs, REMINTERFACEREF* InterfaceRefs) =0;
- };
- #else
- /* C interface definition for IRemUnknown */
- interface IRemUnknown
- {
- const IRemUnknownVtbl * lpVtbl;
- };
- #endif /* __cplusplus */
- EXTERN_C const IID IID_IRemUnknown;
- #ifdef __cplusplus
- }
- #endif
- #endif /* __INCRemUnknown_h */