19#ifndef __WINE_PROPVARUTIL_H
20#define __WINE_PROPVARUTIL_H
94HRESULT InitPropVariantFromBoolean(
BOOL fVal, PROPVARIANT *ppropvar);
95HRESULT InitPropVariantFromString(
PCWSTR psz, PROPVARIANT *ppropvar);
98#ifndef NO_PROPVAR_INLINES
100inline HRESULT InitPropVariantFromBoolean(
BOOL fVal, PROPVARIANT *ppropvar)
103 ppropvar->boolVal = fVal ? VARIANT_TRUE : VARIANT_FALSE;
107inline HRESULT InitPropVariantFromString(
PCWSTR psz, PROPVARIANT *ppropvar)
115 PropVariantInit(ppropvar);
120inline HRESULT InitPropVariantFromInt64(
LONGLONG llVal, PROPVARIANT *ppropvar)
122 ppropvar->vt =
VT_I8;
123 ppropvar->hVal.QuadPart = llVal;
static REFPROPVARIANT propvarSrc
static REFPROPVARIANT PROPVAR_CHANGE_FLAGS VARTYPE vt
HRESULT WINAPI SHStrDupW(LPCWSTR src, LPWSTR *dest)
static DWORD DWORD void LPSTR DWORD cch
static HMODULE MODULEINFO DWORD cb
@ PVCF_TREATEMPTYASGREATERTHAN
HRESULT WINAPI PropVariantToInt32(REFPROPVARIANT propvarIn, LONG *ret)
HRESULT WINAPI InitVariantFromGUIDAsString(REFGUID guid, VARIANT *pvar)
PCWSTR WINAPI PropVariantToStringWithDefault(REFPROPVARIANT propvarIn, LPCWSTR pszDefault)
HRESULT WINAPI VariantToGUID(const VARIANT *pvar, GUID *guid)
HRESULT WINAPI PropVariantToBuffer(REFPROPVARIANT propvarIn, void *ret, UINT cb)
HRESULT WINAPI PropVariantToUInt16(REFPROPVARIANT propvarIn, USHORT *ret)
HRESULT WINAPI InitPropVariantFromCLSID(REFCLSID clsid, PROPVARIANT *ppropvar)
HRESULT WINAPI PropVariantToStringAlloc(REFPROPVARIANT propvarIn, WCHAR **ret)
HRESULT WINAPI PropVariantChangeType(PROPVARIANT *ppropvarDest, REFPROPVARIANT propvarSrc, PROPVAR_CHANGE_FLAGS flags, VARTYPE vt)
HRESULT WINAPI InitPropVariantFromBuffer(const VOID *pv, UINT cb, PROPVARIANT *ppropvar)
HRESULT WINAPI PropVariantToBoolean(REFPROPVARIANT propvarIn, BOOL *ret)
INT WINAPI PropVariantCompareEx(REFPROPVARIANT propvar1, REFPROPVARIANT propvar2, PROPVAR_COMPARE_UNIT uint, PROPVAR_COMPARE_FLAGS flags)
HRESULT WINAPI PropVariantToInt64(REFPROPVARIANT propvarIn, LONGLONG *ret)
HRESULT WINAPI PropVariantToDouble(REFPROPVARIANT propvarIn, double *ret)
HRESULT WINAPI PropVariantToString(REFPROPVARIANT propvarIn, PWSTR ret, UINT cch)
int PROPVAR_COMPARE_FLAGS
HRESULT WINAPI PropVariantToUInt64(REFPROPVARIANT propvarIn, ULONGLONG *ret)
HRESULT WINAPI PropVariantToUInt32(REFPROPVARIANT propvarIn, ULONG *ret)
HRESULT WINAPI PropVariantToGUID(const PROPVARIANT *ppropvar, GUID *guid)
HRESULT WINAPI PropVariantToInt16(REFPROPVARIANT propvarIn, SHORT *ret)
HRESULT WINAPI InitVariantFromBuffer(const VOID *pv, UINT cb, VARIANT *pvar)
HRESULT WINAPI InitPropVariantFromGUIDAsString(REFGUID guid, PROPVARIANT *ppropvar)