include: Fix C++ InitPropVariantFromGUIDAsBuffer implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fcf7942614
commit
92a0405d9a
|
@ -178,7 +178,11 @@ inline HRESULT InitPropVariantFromString(PCWSTR psz, PROPVARIANT *ppropvar)
|
|||
|
||||
inline HRESULT InitPropVariantFromGUIDAsBuffer(REFGUID guid, PROPVARIANT *ppropvar)
|
||||
{
|
||||
#ifdef __cplusplus
|
||||
return InitPropVariantFromBuffer(&guid, sizeof(GUID), ppropvar);
|
||||
#else
|
||||
return InitPropVariantFromBuffer(guid, sizeof(GUID), ppropvar);
|
||||
#endif
|
||||
}
|
||||
|
||||
inline BOOL IsPropVariantVector(REFPROPVARIANT propvar)
|
||||
|
|
Loading…
Reference in New Issue