Add #ifdefs around forwards and interfaces like MIDL does.
This commit is contained in:
parent
675b75597b
commit
09242a8ea6
162
include/oaidl.h
162
include/oaidl.h
|
@ -8,10 +8,26 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
#include "objidl.h"
|
#include "objidl.h"
|
||||||
|
#ifndef __IDispatch_FWD_DEFINED__
|
||||||
|
#define __IDispatch_FWD_DEFINED__
|
||||||
typedef struct IDispatch IDispatch;
|
typedef struct IDispatch IDispatch;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef __ITypeInfo_FWD_DEFINED__
|
||||||
|
#define __ITypeInfo_FWD_DEFINED__
|
||||||
typedef struct ITypeInfo ITypeInfo;
|
typedef struct ITypeInfo ITypeInfo;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef __ITypeLib_FWD_DEFINED__
|
||||||
|
#define __ITypeLib_FWD_DEFINED__
|
||||||
typedef struct ITypeLib ITypeLib;
|
typedef struct ITypeLib ITypeLib;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef __IRecordInfo_FWD_DEFINED__
|
||||||
|
#define __IRecordInfo_FWD_DEFINED__
|
||||||
typedef struct IRecordInfo IRecordInfo;
|
typedef struct IRecordInfo IRecordInfo;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef CY CURRENCY;
|
typedef CY CURRENCY;
|
||||||
|
|
||||||
typedef struct tagSAFEARRAYBOUND {
|
typedef struct tagSAFEARRAYBOUND {
|
||||||
|
@ -581,6 +597,9 @@ typedef IDispatch *LPDISPATCH;
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* IDispatch interface
|
* IDispatch interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __IDispatch_INTERFACE_DEFINED__
|
||||||
|
#define __IDispatch_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_IDispatch, 0x00020400, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_IDispatch, 0x00020400, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct IDispatch : public IUnknown
|
struct IDispatch : public IUnknown
|
||||||
|
@ -759,12 +778,21 @@ HRESULT __RPC_STUB IDispatch_Invoke_Stub(
|
||||||
UINT* rgVarRefIdx,
|
UINT* rgVarRefIdx,
|
||||||
VARIANTARG* rgVarRef);
|
VARIANTARG* rgVarRef);
|
||||||
|
|
||||||
|
#endif /* __IDispatch_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __IEnumVARIANT_FWD_DEFINED__
|
||||||
|
#define __IEnumVARIANT_FWD_DEFINED__
|
||||||
typedef struct IEnumVARIANT IEnumVARIANT;
|
typedef struct IEnumVARIANT IEnumVARIANT;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef IEnumVARIANT *LPENUMVARIANT;
|
typedef IEnumVARIANT *LPENUMVARIANT;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* IEnumVARIANT interface
|
* IEnumVARIANT interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __IEnumVARIANT_INTERFACE_DEFINED__
|
||||||
|
#define __IEnumVARIANT_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_IEnumVARIANT, 0x00020404, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_IEnumVARIANT, 0x00020404, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct IEnumVARIANT : public IUnknown
|
struct IEnumVARIANT : public IUnknown
|
||||||
|
@ -892,7 +920,13 @@ void __RPC_STUB IEnumVARIANT_Clone_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __IEnumVARIANT_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __ITypeComp_FWD_DEFINED__
|
||||||
|
#define __ITypeComp_FWD_DEFINED__
|
||||||
typedef struct ITypeComp ITypeComp;
|
typedef struct ITypeComp ITypeComp;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef ITypeComp *LPTYPECOMP;
|
typedef ITypeComp *LPTYPECOMP;
|
||||||
|
|
||||||
typedef enum tagDESCKIND {
|
typedef enum tagDESCKIND {
|
||||||
|
@ -913,6 +947,9 @@ typedef union tagBINDPTR {
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ITypeComp interface
|
* ITypeComp interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __ITypeComp_INTERFACE_DEFINED__
|
||||||
|
#define __ITypeComp_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_ITypeComp, 0x00020403, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_ITypeComp, 0x00020403, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct ITypeComp : public IUnknown
|
struct ITypeComp : public IUnknown
|
||||||
|
@ -1048,11 +1085,16 @@ HRESULT __RPC_STUB ITypeComp_BindType_Stub(
|
||||||
ULONG lHashVal,
|
ULONG lHashVal,
|
||||||
ITypeInfo** ppTInfo);
|
ITypeInfo** ppTInfo);
|
||||||
|
|
||||||
|
#endif /* __ITypeComp_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
typedef ITypeInfo *LPTYPEINFO;
|
typedef ITypeInfo *LPTYPEINFO;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ITypeInfo interface
|
* ITypeInfo interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __ITypeInfo_INTERFACE_DEFINED__
|
||||||
|
#define __ITypeInfo_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_ITypeInfo, 0x00020401, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_ITypeInfo, 0x00020401, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct ITypeInfo : public IUnknown
|
struct ITypeInfo : public IUnknown
|
||||||
|
@ -1623,12 +1665,21 @@ void CALLBACK ITypeInfo_ReleaseVarDesc_Proxy(
|
||||||
HRESULT __RPC_STUB ITypeInfo_ReleaseVarDesc_Stub(
|
HRESULT __RPC_STUB ITypeInfo_ReleaseVarDesc_Stub(
|
||||||
ITypeInfo* This);
|
ITypeInfo* This);
|
||||||
|
|
||||||
|
#endif /* __ITypeInfo_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __ITypeInfo2_FWD_DEFINED__
|
||||||
|
#define __ITypeInfo2_FWD_DEFINED__
|
||||||
typedef struct ITypeInfo2 ITypeInfo2;
|
typedef struct ITypeInfo2 ITypeInfo2;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef ITypeInfo2 *LPTYPEINFO2;
|
typedef ITypeInfo2 *LPTYPEINFO2;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ITypeInfo2 interface
|
* ITypeInfo2 interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __ITypeInfo2_INTERFACE_DEFINED__
|
||||||
|
#define __ITypeInfo2_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_ITypeInfo2, 0x00020412, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_ITypeInfo2, 0x00020412, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct ITypeInfo2 : public ITypeInfo
|
struct ITypeInfo2 : public ITypeInfo
|
||||||
|
@ -2158,6 +2209,8 @@ void __RPC_STUB ITypeInfo2_GetAllImplTypeCustData_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __ITypeInfo2_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
typedef ITypeLib *LPTYPELIB;
|
typedef ITypeLib *LPTYPELIB;
|
||||||
|
|
||||||
typedef enum tagSYSKIND {
|
typedef enum tagSYSKIND {
|
||||||
|
@ -2185,6 +2238,9 @@ typedef struct tagTLIBATTR {
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ITypeLib interface
|
* ITypeLib interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __ITypeLib_INTERFACE_DEFINED__
|
||||||
|
#define __ITypeLib_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_ITypeLib, 0x00020402, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_ITypeLib, 0x00020402, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct ITypeLib : public IUnknown
|
struct ITypeLib : public IUnknown
|
||||||
|
@ -2499,12 +2555,21 @@ void CALLBACK ITypeLib_ReleaseTLibAttr_Proxy(
|
||||||
HRESULT __RPC_STUB ITypeLib_ReleaseTLibAttr_Stub(
|
HRESULT __RPC_STUB ITypeLib_ReleaseTLibAttr_Stub(
|
||||||
ITypeLib* This);
|
ITypeLib* This);
|
||||||
|
|
||||||
|
#endif /* __ITypeLib_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __ITypeLib2_FWD_DEFINED__
|
||||||
|
#define __ITypeLib2_FWD_DEFINED__
|
||||||
typedef struct ITypeLib2 ITypeLib2;
|
typedef struct ITypeLib2 ITypeLib2;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef ITypeLib2 *LPTYPELIB2;
|
typedef ITypeLib2 *LPTYPELIB2;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ITypeLib2 interface
|
* ITypeLib2 interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __ITypeLib2_INTERFACE_DEFINED__
|
||||||
|
#define __ITypeLib2_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_ITypeLib2, 0x00020411, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_ITypeLib2, 0x00020411, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct ITypeLib2 : public ITypeLib
|
struct ITypeLib2 : public ITypeLib
|
||||||
|
@ -2735,7 +2800,13 @@ void __RPC_STUB ITypeLib2_GetAllCustData_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __ITypeLib2_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __ITypeChangeEvents_FWD_DEFINED__
|
||||||
|
#define __ITypeChangeEvents_FWD_DEFINED__
|
||||||
typedef struct ITypeChangeEvents ITypeChangeEvents;
|
typedef struct ITypeChangeEvents ITypeChangeEvents;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef ITypeChangeEvents *LPTYPECHANGEEVENTS;
|
typedef ITypeChangeEvents *LPTYPECHANGEEVENTS;
|
||||||
|
|
||||||
typedef enum tagCHANGEKIND {
|
typedef enum tagCHANGEKIND {
|
||||||
|
@ -2752,6 +2823,9 @@ typedef enum tagCHANGEKIND {
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ITypeChangeEvents interface
|
* ITypeChangeEvents interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __ITypeChangeEvents_INTERFACE_DEFINED__
|
||||||
|
#define __ITypeChangeEvents_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_ITypeChangeEvents, 0x00020410, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_ITypeChangeEvents, 0x00020410, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct ITypeChangeEvents : public IUnknown
|
struct ITypeChangeEvents : public IUnknown
|
||||||
|
@ -2846,12 +2920,21 @@ void __RPC_STUB ITypeChangeEvents_AfterTypeChange_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __ITypeChangeEvents_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __IErrorInfo_FWD_DEFINED__
|
||||||
|
#define __IErrorInfo_FWD_DEFINED__
|
||||||
typedef struct IErrorInfo IErrorInfo;
|
typedef struct IErrorInfo IErrorInfo;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef IErrorInfo *LPERRORINFO;
|
typedef IErrorInfo *LPERRORINFO;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* IErrorInfo interface
|
* IErrorInfo interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __IErrorInfo_INTERFACE_DEFINED__
|
||||||
|
#define __IErrorInfo_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_IErrorInfo, 0x1cf2b120, 0x547d, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19);
|
DEFINE_GUID(IID_IErrorInfo, 0x1cf2b120, 0x547d, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct IErrorInfo : public IUnknown
|
struct IErrorInfo : public IUnknown
|
||||||
|
@ -2982,12 +3065,21 @@ void __RPC_STUB IErrorInfo_GetHelpContext_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __IErrorInfo_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __ICreateErrorInfo_FWD_DEFINED__
|
||||||
|
#define __ICreateErrorInfo_FWD_DEFINED__
|
||||||
typedef struct ICreateErrorInfo ICreateErrorInfo;
|
typedef struct ICreateErrorInfo ICreateErrorInfo;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef ICreateErrorInfo *LPCREATEERRORINFO;
|
typedef ICreateErrorInfo *LPCREATEERRORINFO;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ICreateErrorInfo interface
|
* ICreateErrorInfo interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __ICreateErrorInfo_INTERFACE_DEFINED__
|
||||||
|
#define __ICreateErrorInfo_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_ICreateErrorInfo, 0x22f03340, 0x547d, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19);
|
DEFINE_GUID(IID_ICreateErrorInfo, 0x22f03340, 0x547d, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct ICreateErrorInfo : public IUnknown
|
struct ICreateErrorInfo : public IUnknown
|
||||||
|
@ -3118,12 +3210,21 @@ void __RPC_STUB ICreateErrorInfo_SetHelpContext_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __ICreateErrorInfo_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __ISupportErrorInfo_FWD_DEFINED__
|
||||||
|
#define __ISupportErrorInfo_FWD_DEFINED__
|
||||||
typedef struct ISupportErrorInfo ISupportErrorInfo;
|
typedef struct ISupportErrorInfo ISupportErrorInfo;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef ISupportErrorInfo *LPSUPPORTERRORINFO;
|
typedef ISupportErrorInfo *LPSUPPORTERRORINFO;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ISupportErrorInfo interface
|
* ISupportErrorInfo interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __ISupportErrorInfo_INTERFACE_DEFINED__
|
||||||
|
#define __ISupportErrorInfo_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_ISupportErrorInfo, 0xdf0b3d60, 0x548f, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19);
|
DEFINE_GUID(IID_ISupportErrorInfo, 0xdf0b3d60, 0x548f, 0x101b, 0x8e,0x65, 0x08,0x00,0x2b,0x2b,0xd1,0x19);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct ISupportErrorInfo : public IUnknown
|
struct ISupportErrorInfo : public IUnknown
|
||||||
|
@ -3186,10 +3287,19 @@ void __RPC_STUB ISupportErrorInfo_InterfaceSupportsErrorInfo_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __ISupportErrorInfo_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __ITypeFactory_FWD_DEFINED__
|
||||||
|
#define __ITypeFactory_FWD_DEFINED__
|
||||||
typedef struct ITypeFactory ITypeFactory;
|
typedef struct ITypeFactory ITypeFactory;
|
||||||
|
#endif
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ITypeFactory interface
|
* ITypeFactory interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __ITypeFactory_INTERFACE_DEFINED__
|
||||||
|
#define __ITypeFactory_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_ITypeFactory, 0x0000002e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_ITypeFactory, 0x0000002e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct ITypeFactory : public IUnknown
|
struct ITypeFactory : public IUnknown
|
||||||
|
@ -3258,10 +3368,19 @@ void __RPC_STUB ITypeFactory_CreateFromTypeInfo_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __ITypeFactory_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __ITypeMarshal_FWD_DEFINED__
|
||||||
|
#define __ITypeMarshal_FWD_DEFINED__
|
||||||
typedef struct ITypeMarshal ITypeMarshal;
|
typedef struct ITypeMarshal ITypeMarshal;
|
||||||
|
#endif
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ITypeMarshal interface
|
* ITypeMarshal interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __ITypeMarshal_INTERFACE_DEFINED__
|
||||||
|
#define __ITypeMarshal_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_ITypeMarshal, 0x0000002d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_ITypeMarshal, 0x0000002d, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct ITypeMarshal : public IUnknown
|
struct ITypeMarshal : public IUnknown
|
||||||
|
@ -3411,11 +3530,16 @@ void __RPC_STUB ITypeMarshal_Free_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __ITypeMarshal_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
typedef IRecordInfo *LPRECORDINFO;
|
typedef IRecordInfo *LPRECORDINFO;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* IRecordInfo interface
|
* IRecordInfo interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __IRecordInfo_INTERFACE_DEFINED__
|
||||||
|
#define __IRecordInfo_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_IRecordInfo, 0x0000002f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_IRecordInfo, 0x0000002f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct IRecordInfo : public IUnknown
|
struct IRecordInfo : public IUnknown
|
||||||
|
@ -3773,12 +3897,21 @@ void __RPC_STUB IRecordInfo_RecordDestroy_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __IRecordInfo_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __ICreateTypeInfo_FWD_DEFINED__
|
||||||
|
#define __ICreateTypeInfo_FWD_DEFINED__
|
||||||
typedef struct ICreateTypeInfo ICreateTypeInfo;
|
typedef struct ICreateTypeInfo ICreateTypeInfo;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef ICreateTypeInfo *LPCREATETYPEINFO;
|
typedef ICreateTypeInfo *LPCREATETYPEINFO;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ICreateTypeInfo interface
|
* ICreateTypeInfo interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __ICreateTypeInfo_INTERFACE_DEFINED__
|
||||||
|
#define __ICreateTypeInfo_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_ICreateTypeInfo, 0x00020405, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_ICreateTypeInfo, 0x00020405, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct ICreateTypeInfo : public IUnknown
|
struct ICreateTypeInfo : public IUnknown
|
||||||
|
@ -4261,12 +4394,21 @@ void __RPC_STUB ICreateTypeInfo_LayOut_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __ICreateTypeInfo_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __ICreateTypeInfo2_FWD_DEFINED__
|
||||||
|
#define __ICreateTypeInfo2_FWD_DEFINED__
|
||||||
typedef struct ICreateTypeInfo2 ICreateTypeInfo2;
|
typedef struct ICreateTypeInfo2 ICreateTypeInfo2;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef ICreateTypeInfo2 *LPCREATETYPEINFO2;
|
typedef ICreateTypeInfo2 *LPCREATETYPEINFO2;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ICreateTypeInfo2 interface
|
* ICreateTypeInfo2 interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __ICreateTypeInfo2_INTERFACE_DEFINED__
|
||||||
|
#define __ICreateTypeInfo2_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_ICreateTypeInfo2, 0x0002040e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_ICreateTypeInfo2, 0x0002040e, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct ICreateTypeInfo2 : public ICreateTypeInfo
|
struct ICreateTypeInfo2 : public ICreateTypeInfo
|
||||||
|
@ -4760,12 +4902,21 @@ void __RPC_STUB ICreateTypeInfo2_SetName_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __ICreateTypeInfo2_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __ICreateTypeLib_FWD_DEFINED__
|
||||||
|
#define __ICreateTypeLib_FWD_DEFINED__
|
||||||
typedef struct ICreateTypeLib ICreateTypeLib;
|
typedef struct ICreateTypeLib ICreateTypeLib;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef ICreateTypeLib *LPCREATETYPELIB;
|
typedef ICreateTypeLib *LPCREATETYPELIB;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ICreateTypeLib interface
|
* ICreateTypeLib interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __ICreateTypeLib_INTERFACE_DEFINED__
|
||||||
|
#define __ICreateTypeLib_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_ICreateTypeLib, 0x00020406, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_ICreateTypeLib, 0x00020406, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct ICreateTypeLib : public IUnknown
|
struct ICreateTypeLib : public IUnknown
|
||||||
|
@ -4988,12 +5139,21 @@ void __RPC_STUB ICreateTypeLib_SaveAllChanges_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __ICreateTypeLib_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __ICreateTypeLib2_FWD_DEFINED__
|
||||||
|
#define __ICreateTypeLib2_FWD_DEFINED__
|
||||||
typedef struct ICreateTypeLib2 ICreateTypeLib2;
|
typedef struct ICreateTypeLib2 ICreateTypeLib2;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef ICreateTypeLib2 *LPCREATETYPELIB2;
|
typedef ICreateTypeLib2 *LPCREATETYPELIB2;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ICreateTypeLib2 interface
|
* ICreateTypeLib2 interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __ICreateTypeLib2_INTERFACE_DEFINED__
|
||||||
|
#define __ICreateTypeLib2_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_ICreateTypeLib2, 0x0002040f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_ICreateTypeLib2, 0x0002040f, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct ICreateTypeLib2 : public ICreateTypeLib
|
struct ICreateTypeLib2 : public ICreateTypeLib
|
||||||
|
@ -5175,6 +5335,8 @@ void __RPC_STUB ICreateTypeLib2_SetHelpStringDll_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __ICreateTypeLib2_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
486
include/objidl.h
486
include/objidl.h
File diff suppressed because it is too large
Load Diff
544
include/strmif.h
544
include/strmif.h
File diff suppressed because it is too large
Load Diff
|
@ -15,12 +15,19 @@ extern "C" {
|
||||||
# define ICOM_MSVTABLE_COMPAT_FIELDS
|
# define ICOM_MSVTABLE_COMPAT_FIELDS
|
||||||
# define ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
|
# define ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef __IUnknown_FWD_DEFINED__
|
||||||
|
#define __IUnknown_FWD_DEFINED__
|
||||||
typedef struct IUnknown IUnknown;
|
typedef struct IUnknown IUnknown;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef IUnknown *LPUNKNOWN;
|
typedef IUnknown *LPUNKNOWN;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* IUnknown interface
|
* IUnknown interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __IUnknown_INTERFACE_DEFINED__
|
||||||
|
#define __IUnknown_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
#ifdef ICOM_USE_COM_INTERFACE_ATTRIBUTE
|
#ifdef ICOM_USE_COM_INTERFACE_ATTRIBUTE
|
||||||
|
@ -100,12 +107,21 @@ void __RPC_STUB IUnknown_Release_Stub(
|
||||||
PRPC_MESSAGE pRpcMessage,
|
PRPC_MESSAGE pRpcMessage,
|
||||||
DWORD* pdwStubPhase);
|
DWORD* pdwStubPhase);
|
||||||
|
|
||||||
|
#endif /* __IUnknown_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
|
#ifndef __IClassFactory_FWD_DEFINED__
|
||||||
|
#define __IClassFactory_FWD_DEFINED__
|
||||||
typedef struct IClassFactory IClassFactory;
|
typedef struct IClassFactory IClassFactory;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef IClassFactory *LPCLASSFACTORY;
|
typedef IClassFactory *LPCLASSFACTORY;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* IClassFactory interface
|
* IClassFactory interface
|
||||||
*/
|
*/
|
||||||
|
#ifndef __IClassFactory_INTERFACE_DEFINED__
|
||||||
|
#define __IClassFactory_INTERFACE_DEFINED__
|
||||||
|
|
||||||
DEFINE_GUID(IID_IClassFactory, 0x00000001, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
DEFINE_GUID(IID_IClassFactory, 0x00000001, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||||
struct IClassFactory : public IUnknown
|
struct IClassFactory : public IUnknown
|
||||||
|
@ -205,6 +221,8 @@ HRESULT __RPC_STUB IClassFactory_LockServer_Stub(
|
||||||
IClassFactory* This,
|
IClassFactory* This,
|
||||||
BOOL fLock);
|
BOOL fLock);
|
||||||
|
|
||||||
|
#endif /* __IClassFactory_INTERFACE_DEFINED__ */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -660,7 +660,10 @@ void write_forward(type_t *iface)
|
||||||
* (i.e. this is an IDL forward), then we also assume that it is an object
|
* (i.e. this is an IDL forward), then we also assume that it is an object
|
||||||
* interface, since non-object interfaces shouldn't need forwards */
|
* interface, since non-object interfaces shouldn't need forwards */
|
||||||
if ((!iface->defined || is_object(iface->attrs)) && !iface->written) {
|
if ((!iface->defined || is_object(iface->attrs)) && !iface->written) {
|
||||||
|
fprintf(header,"#ifndef __%s_FWD_DEFINED__\n", iface->name);
|
||||||
|
fprintf(header,"#define __%s_FWD_DEFINED__\n", iface->name);
|
||||||
fprintf(header, "typedef struct %s %s;\n", iface->name, iface->name);
|
fprintf(header, "typedef struct %s %s;\n", iface->name, iface->name);
|
||||||
|
fprintf(header, "#endif\n\n" );
|
||||||
iface->written = TRUE;
|
iface->written = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -684,6 +687,8 @@ void write_com_interface(type_t *iface)
|
||||||
fprintf(header, "/*****************************************************************************\n");
|
fprintf(header, "/*****************************************************************************\n");
|
||||||
fprintf(header, " * %s interface\n", iface->name);
|
fprintf(header, " * %s interface\n", iface->name);
|
||||||
fprintf(header, " */\n");
|
fprintf(header, " */\n");
|
||||||
|
fprintf(header,"#ifndef __%s_INTERFACE_DEFINED__\n", iface->name);
|
||||||
|
fprintf(header,"#define __%s_INTERFACE_DEFINED__\n\n", iface->name);
|
||||||
write_guid(iface);
|
write_guid(iface);
|
||||||
write_forward(iface);
|
write_forward(iface);
|
||||||
/* C++ interface */
|
/* C++ interface */
|
||||||
|
@ -732,6 +737,7 @@ void write_com_interface(type_t *iface)
|
||||||
|
|
||||||
if (!is_local(iface->attrs))
|
if (!is_local(iface->attrs))
|
||||||
write_proxy(iface);
|
write_proxy(iface);
|
||||||
|
fprintf(header,"#endif /* __%s_INTERFACE_DEFINED__ */\n\n", iface->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
void write_rpc_interface(type_t *iface)
|
void write_rpc_interface(type_t *iface)
|
||||||
|
|
Loading…
Reference in New Issue