propvarutil.h: Fixed inline syntax.
This commit is contained in:
parent
92ff88155a
commit
d46081e67d
|
@ -46,14 +46,14 @@ HRESULT InitPropVariantFromString(PCWSTR psz, PROPVARIANT *ppropvar);
|
||||||
|
|
||||||
#ifndef NO_PROPVAR_INLINES
|
#ifndef NO_PROPVAR_INLINES
|
||||||
|
|
||||||
HRESULT inline InitPropVariantFromBoolean(BOOL fVal, PROPVARIANT *ppropvar)
|
inline HRESULT InitPropVariantFromBoolean(BOOL fVal, PROPVARIANT *ppropvar)
|
||||||
{
|
{
|
||||||
ppropvar->vt = VT_BOOL;
|
ppropvar->vt = VT_BOOL;
|
||||||
ppropvar->boolVal = fVal ? VARIANT_TRUE : VARIANT_FALSE;
|
ppropvar->boolVal = fVal ? VARIANT_TRUE : VARIANT_FALSE;
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT inline InitPropVariantFromString(PCWSTR psz, PROPVARIANT *ppropvar)
|
inline HRESULT InitPropVariantFromString(PCWSTR psz, PROPVARIANT *ppropvar)
|
||||||
{
|
{
|
||||||
HRESULT hres;
|
HRESULT hres;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue