Home
last modified time | relevance | path

Searched refs:ppropvar (Results 1 – 5 of 5) sorted by relevance

/reactos/sdk/include/psdk/
H A Dpropvarutil.h73 HRESULT WINAPI PropVariantToGUID(const PROPVARIANT *ppropvar, GUID *guid);
94 HRESULT InitPropVariantFromBoolean(BOOL fVal, PROPVARIANT *ppropvar);
95 HRESULT InitPropVariantFromString(PCWSTR psz, PROPVARIANT *ppropvar);
96 HRESULT InitPropVariantFromInt64(LONGLONG llVal, PROPVARIANT *ppropvar);
102 ppropvar->vt = VT_BOOL; in InitPropVariantFromBoolean()
103 ppropvar->boolVal = fVal ? VARIANT_TRUE : VARIANT_FALSE; in InitPropVariantFromBoolean()
111 hres = SHStrDupW(psz, &ppropvar->pwszVal); in InitPropVariantFromString()
113 ppropvar->vt = VT_LPWSTR; in InitPropVariantFromString()
115 PropVariantInit(ppropvar); in InitPropVariantFromString()
122 ppropvar->vt = VT_I8; in InitPropVariantFromInt64()
[all …]
H A Dpropsys.idl100 [out] PROPVARIANT *ppropvar
228 [out] PROPVARIANT *ppropvar,
237 [in, unique] const PROPVARIANT *ppropvar,
261 [out] PROPVARIANT *ppropvar
264 [out] PROPVARIANT *ppropvar
267 [out] PROPVARIANT *ppropvar
509 [out] PROPVARIANT *ppropvar
H A Dshobjidl.idl453 [out] PROPVARIANT *ppropvar);
/reactos/dll/win32/propsys/
H A Dpropvar.c599 ppropvar->vt = VT_LPWSTR; in InitPropVariantFromGUIDAsString()
601 if(!ppropvar->u.pwszVal) in InitPropVariantFromGUIDAsString()
631 if(!ppropvar->u.caub.pElems) in InitPropVariantFromBuffer()
635 ppropvar->u.caub.cElems = cb; in InitPropVariantFromBuffer()
644 ppropvar->u.puuid = CoTaskMemAlloc(sizeof(*ppropvar->u.puuid)); in InitPropVariantFromCLSID()
645 if(!ppropvar->u.puuid) in InitPropVariantFromCLSID()
648 ppropvar->vt = VT_CLSID; in InitPropVariantFromCLSID()
649 memcpy(ppropvar->u.puuid, clsid, sizeof(*ppropvar->u.puuid)); in InitPropVariantFromCLSID()
760 switch(ppropvar->vt) { in PropVariantToGUID()
764 return PROPVAR_WCHARToGUID(ppropvar->u.pwszVal, lstrlenW(ppropvar->u.pwszVal), guid); in PropVariantToGUID()
[all …]
H A Dpropstore.c357 REFPROPERTYKEY key, PROPVARIANT *ppropvar, PSC_STATE *pstate) in PropertyStore_GetValueAndState() argument
363 TRACE("%p,%p,%p,%p\n", iface, key, ppropvar, pstate); in PropertyStore_GetValueAndState()
370 hr = PropVariantCopy(ppropvar, &value->propvar); in PropertyStore_GetValueAndState()
379 PropVariantInit(ppropvar); in PropertyStore_GetValueAndState()
408 REFPROPERTYKEY key, const PROPVARIANT *ppropvar, PSC_STATE state) in PropertyStore_SetValueAndState() argument
415 TRACE("%p,%p,%p,%d\n", iface, key, ppropvar, state); in PropertyStore_SetValueAndState()
422 hr = PropVariantCopy(&temp, ppropvar); in PropertyStore_SetValueAndState()