Commit 54f58769 authored by Serge Gautherie's avatar Serge Gautherie Committed by Alexandre Julliard

guiddef.h: REF* types do not depend on CINTERFACE.

parent 10035f1b
...@@ -130,12 +130,12 @@ typedef GUID FMTID,*LPFMTID; ...@@ -130,12 +130,12 @@ typedef GUID FMTID,*LPFMTID;
#define REFCLSID const CLSID & #define REFCLSID const CLSID &
#define REFIID const IID & #define REFIID const IID &
#define REFFMTID const FMTID & #define REFFMTID const FMTID &
#else /* !defined(__cplusplus) && !defined(CINTERFACE) */ #else /* !defined(__cplusplus) */
#define REFGUID const GUID* __MIDL_CONST #define REFGUID const GUID* __MIDL_CONST
#define REFCLSID const CLSID* __MIDL_CONST #define REFCLSID const CLSID* __MIDL_CONST
#define REFIID const IID* __MIDL_CONST #define REFIID const IID* __MIDL_CONST
#define REFFMTID const FMTID* __MIDL_CONST #define REFFMTID const FMTID* __MIDL_CONST
#endif /* !defined(__cplusplus) && !defined(CINTERFACE) */ #endif /* !defined(__cplusplus) */
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
#define IsEqualGUID(rguid1, rguid2) (!memcmp(&(rguid1), &(rguid2), sizeof(GUID))) #define IsEqualGUID(rguid1, rguid2) (!memcmp(&(rguid1), &(rguid2), sizeof(GUID)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment