Lines Matching refs:ppropvar
73 HRESULT WINAPI InitPropVariantFromGUIDAsString(REFGUID guid, PROPVARIANT *ppropvar);
75 HRESULT WINAPI InitPropVariantFromBuffer(const VOID *pv, UINT cb, PROPVARIANT *ppropvar);
77 HRESULT WINAPI PropVariantToGUID(const PROPVARIANT *ppropvar, GUID *guid);
91 HRESULT InitPropVariantFromBoolean(BOOL fVal, PROPVARIANT *ppropvar);
92 HRESULT InitPropVariantFromString(PCWSTR psz, PROPVARIANT *ppropvar);
93 HRESULT InitPropVariantFromInt64(LONGLONG llVal, PROPVARIANT *ppropvar);
97 inline HRESULT InitPropVariantFromBoolean(BOOL fVal, PROPVARIANT *ppropvar)
99 ppropvar->vt = VT_BOOL;
100 ppropvar->boolVal = fVal ? VARIANT_TRUE : VARIANT_FALSE;
104 inline HRESULT InitPropVariantFromString(PCWSTR psz, PROPVARIANT *ppropvar)
108 hres = SHStrDupW(psz, &ppropvar->pwszVal);
110 ppropvar->vt = VT_LPWSTR;
112 PropVariantInit(ppropvar);
117 inline HRESULT InitPropVariantFromInt64(LONGLONG llVal, PROPVARIANT *ppropvar)
119 ppropvar->vt = VT_I8;
120 ppropvar->hVal.QuadPart = llVal;