mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 06:06:13 +00:00
propsys: Stub PropVariantCompareEx.
This commit is contained in:
parent
83cfd54f85
commit
52d1db1908
3 changed files with 36 additions and 1 deletions
|
@ -94,7 +94,7 @@
|
|||
@ stdcall PSStringFromPropertyKey(ptr ptr long)
|
||||
@ stdcall PSUnregisterPropertySchema(wstr)
|
||||
@ stdcall PropVariantChangeType(ptr ptr long long)
|
||||
@ stub PropVariantCompareEx
|
||||
@ stdcall PropVariantCompareEx(ptr ptr long long)
|
||||
@ stub PropVariantGetBooleanElem
|
||||
@ stub PropVariantGetDoubleElem
|
||||
@ stub PropVariantGetElementCount
|
||||
|
|
|
@ -283,3 +283,11 @@ HRESULT WINAPI VariantToGUID(const VARIANT *pvar, GUID *guid)
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
}
|
||||
|
||||
INT WINAPI PropVariantCompareEx(REFPROPVARIANT propvar1, REFPROPVARIANT propvar2,
|
||||
PROPVAR_COMPARE_UNIT unit, PROPVAR_COMPARE_FLAGS flags)
|
||||
{
|
||||
FIXME("%p,%p,%x,%x\n", propvar1, propvar2, unit, flags);
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
|
|
@ -34,6 +34,31 @@ enum tagPROPVAR_CHANGE_FLAGS
|
|||
|
||||
typedef int PROPVAR_CHANGE_FLAGS;
|
||||
|
||||
enum tagPROPVAR_COMPARE_UNIT
|
||||
{
|
||||
PVCU_DEFAULT = 0x00000000,
|
||||
PVCU_SECOND = 0x00000001,
|
||||
PVCU_MINUTE = 0x00000002,
|
||||
PVCU_HOUR = 0x00000003,
|
||||
PVCU_DAY = 0x00000004,
|
||||
PVCU_MONTH = 0x00000005,
|
||||
PVCU_YEAR = 0x00000006,
|
||||
};
|
||||
|
||||
typedef int PROPVAR_COMPARE_UNIT;
|
||||
|
||||
enum tagPROPVAR_COMPARE_FLAGS
|
||||
{
|
||||
PVCF_DEFAULT = 0x00000000,
|
||||
PVCF_TREATEMPTYASGREATERTHAN = 0x00000001,
|
||||
PVCF_USESTRCMP = 0x00000002,
|
||||
PVCF_USESTRCMPC = 0x00000004,
|
||||
PVCF_USESTRCMPI = 0x00000008,
|
||||
PVCF_USESTRCMPIC = 0x00000010,
|
||||
};
|
||||
|
||||
typedef int PROPVAR_COMPARE_FLAGS;
|
||||
|
||||
HRESULT WINAPI PropVariantChangeType(PROPVARIANT *ppropvarDest, REFPROPVARIANT propvarSrc,
|
||||
PROPVAR_CHANGE_FLAGS flags, VARTYPE vt);
|
||||
HRESULT WINAPI InitPropVariantFromGUIDAsString(REFGUID guid, PROPVARIANT *ppropvar);
|
||||
|
@ -42,6 +67,8 @@ HRESULT WINAPI InitPropVariantFromBuffer(const VOID *pv, UINT cb, PROPVARIANT *p
|
|||
HRESULT WINAPI InitVariantFromBuffer(const VOID *pv, UINT cb, VARIANT *pvar);
|
||||
HRESULT WINAPI PropVariantToGUID(const PROPVARIANT *ppropvar, GUID *guid);
|
||||
HRESULT WINAPI VariantToGUID(const VARIANT *pvar, GUID *guid);
|
||||
INT WINAPI PropVariantCompareEx(REFPROPVARIANT propvar1, REFPROPVARIANT propvar2,
|
||||
PROPVAR_COMPARE_UNIT uint, PROPVAR_COMPARE_FLAGS flags);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in a new issue