Commit 92a0405d authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

include: Fix C++ InitPropVariantFromGUIDAsBuffer implementation.

parent fcf79426
...@@ -178,7 +178,11 @@ inline HRESULT InitPropVariantFromString(PCWSTR psz, PROPVARIANT *ppropvar) ...@@ -178,7 +178,11 @@ inline HRESULT InitPropVariantFromString(PCWSTR psz, PROPVARIANT *ppropvar)
inline HRESULT InitPropVariantFromGUIDAsBuffer(REFGUID guid, PROPVARIANT *ppropvar) inline HRESULT InitPropVariantFromGUIDAsBuffer(REFGUID guid, PROPVARIANT *ppropvar)
{ {
#ifdef __cplusplus
return InitPropVariantFromBuffer(&guid, sizeof(GUID), ppropvar);
#else
return InitPropVariantFromBuffer(guid, sizeof(GUID), ppropvar); return InitPropVariantFromBuffer(guid, sizeof(GUID), ppropvar);
#endif
} }
inline BOOL IsPropVariantVector(REFPROPVARIANT propvar) inline BOOL IsPropVariantVector(REFPROPVARIANT propvar)
......
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