diff --git a/include/propkeydef.h b/include/propkeydef.h index 2a459841858..b3a25592d70 100644 --- a/include/propkeydef.h +++ b/include/propkeydef.h @@ -48,7 +48,11 @@ #endif #ifndef IsEqualPropertyKey +#ifdef __cplusplus #define IsEqualPropertyKey(a,b) (((a).pid == (b).pid) && IsEqualIID((a).fmtid,(b).fmtid)) +#else +#define IsEqualPropertyKey(a,b) (((a).pid == (b).pid) && IsEqualIID(&(a).fmtid,&(b).fmtid)) +#endif #endif #ifndef _PROPERTYKEY_EQUALITY_OPERATORS_