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

Addendum to 4626db2bb2.

Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Serge Gautherie 2018-07-13 16:30:50 +02:00 committed by Alexandre Julliard
parent 10035f1b97
commit 54f58769fe
1 changed files with 2 additions and 2 deletions

View File

@ -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)))