Don't use COBJMACROS on internal interfaces.
This commit is contained in:
parent
cf78e15c2b
commit
6be32f7edc
|
@ -78,7 +78,7 @@ DECLARE_INTERFACE_(IDirectPlaySP,IUnknown) { IDirectPlaySP_METHODS };
|
|||
/* NOTE: The microsoft provided header file doesn't have these access
|
||||
* functions
|
||||
*/
|
||||
#ifdef COBJMACROS
|
||||
#if !defined (__cplusplus) || defined(CINTERFACE)
|
||||
/*** IUnknown methods ***/
|
||||
#define IDirectPlaySP_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IDirectPlaySP_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
|
|
|
@ -483,7 +483,7 @@ HRESULT WINAPI DPLSPInit(LPSPDATA_INIT);
|
|||
DECLARE_INTERFACE_(IDPLobbySP,IUnknown) { IDPLobbySP_METHODS };
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#if !defined (__cplusplus) || defined(CINTERFACE)
|
||||
/*** IUnknown methods ***/
|
||||
#define IDPLobbySP_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IDPLobbySP_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
|
|
|
@ -144,7 +144,7 @@ typedef struct _DSCDRIVERCAPS
|
|||
DECLARE_INTERFACE_(IDsDriver,IUnknown) { IDsDriver_METHODS };
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#if !defined (__cplusplus) || defined(CINTERFACE)
|
||||
/*** IUnknown methods ***/
|
||||
#define IDsDriver_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IDsDriver_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
|
@ -176,7 +176,7 @@ DECLARE_INTERFACE_(IDsDriver,IUnknown) { IDsDriver_METHODS };
|
|||
DECLARE_INTERFACE_(IDsDriverBuffer,IUnknown) { IDsDriverBuffer_METHODS };
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#if !defined (__cplusplus) || defined(CINTERFACE)
|
||||
/*** IUnknown methods ***/
|
||||
#define IDsDriverBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IDsDriverBuffer_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
|
@ -205,7 +205,7 @@ DECLARE_INTERFACE_(IDsDriverBuffer,IUnknown) { IDsDriverBuffer_METHODS };
|
|||
DECLARE_INTERFACE_(IDsDriverPropertySet,IUnknown) { IDsDriverPropertySet_METHODS };
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#if !defined (__cplusplus) || defined(CINTERFACE)
|
||||
/*** IUnknown methods ***/
|
||||
#define IDsDriverPropertySet_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IDsDriverPropertySet_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
|
@ -261,7 +261,7 @@ typedef enum
|
|||
DECLARE_INTERFACE_(IDsDriverNotify,IUnknown) { IDsDriverNotify_METHODS };
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#if !defined (__cplusplus) || defined(CINTERFACE)
|
||||
/*** IUnknown methods ***/
|
||||
#define IDsDriverNotify_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IDsDriverNotify_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
|
@ -284,7 +284,7 @@ DECLARE_INTERFACE_(IDsDriverNotify,IUnknown) { IDsDriverNotify_METHODS };
|
|||
DECLARE_INTERFACE_(IDsCaptureDriver,IUnknown) { IDsCaptureDriver_METHODS };
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#if !defined (__cplusplus) || defined(CINTERFACE)
|
||||
/*** IUnknown methods ***/
|
||||
#define IDsCaptureDriver_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IDsCaptureDriver_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
|
@ -313,7 +313,7 @@ DECLARE_INTERFACE_(IDsCaptureDriver,IUnknown) { IDsCaptureDriver_METHODS };
|
|||
DECLARE_INTERFACE_(IDsCaptureDriverBuffer,IUnknown) { IDsCaptureDriverBuffer_METHODS };
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#if !defined (__cplusplus) || defined(CINTERFACE)
|
||||
/*** IUnknown methods ***/
|
||||
#define IDsCaptureDriverBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IDsCaptureDriverBuffer_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
|
|
|
@ -74,7 +74,7 @@ typedef struct IWineD3D IWineD3D;
|
|||
DECLARE_INTERFACE_(IWineD3D,IUnknown) { IWineD3D_METHODS };
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#if !defined(__cplusplus) || defined(CINTERFACE)
|
||||
/*** IUnknown methods ***/
|
||||
#define IWineD3D_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IWineD3D_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
|
|
Loading…
Reference in New Issue