mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 11:50:17 +00:00
oleaut32: Fix VariantChangeType()/VariantChangeTypeEx() prototypes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a55f4f9fc4
commit
25ec9d4c34
|
@ -960,7 +960,7 @@ VariantCopyInd_Return:
|
|||
* The LCID used for the conversion is LOCALE_USER_DEFAULT.
|
||||
* See VariantChangeTypeEx.
|
||||
*/
|
||||
HRESULT WINAPI DECLSPEC_HOTPATCH VariantChangeType(VARIANTARG* pvargDest, VARIANTARG* pvargSrc,
|
||||
HRESULT WINAPI DECLSPEC_HOTPATCH VariantChangeType(VARIANTARG* pvargDest, const VARIANTARG* pvargSrc,
|
||||
USHORT wFlags, VARTYPE vt)
|
||||
{
|
||||
return VariantChangeTypeEx( pvargDest, pvargSrc, LOCALE_USER_DEFAULT, wFlags, vt );
|
||||
|
@ -986,7 +986,7 @@ HRESULT WINAPI DECLSPEC_HOTPATCH VariantChangeType(VARIANTARG* pvargDest, VARIAN
|
|||
* pvargDest and pvargSrc can point to the same variant to perform an in-place
|
||||
* conversion. If the conversion is successful, pvargSrc will be freed.
|
||||
*/
|
||||
HRESULT WINAPI VariantChangeTypeEx(VARIANTARG* pvargDest, VARIANTARG* pvargSrc,
|
||||
HRESULT WINAPI VariantChangeTypeEx(VARIANTARG* pvargDest, const VARIANTARG* pvargSrc,
|
||||
LCID lcid, USHORT wFlags, VARTYPE vt)
|
||||
{
|
||||
HRESULT res = S_OK;
|
||||
|
|
|
@ -188,8 +188,8 @@ void WINAPI VariantInit(VARIANT*);
|
|||
HRESULT WINAPI VariantClear(VARIANT*);
|
||||
HRESULT WINAPI VariantCopy(VARIANTARG *dst, const VARIANTARG *src);
|
||||
HRESULT WINAPI VariantCopyInd(VARIANT *dst, const VARIANTARG *src);
|
||||
HRESULT WINAPI VariantChangeType(VARIANT*,VARIANT*,USHORT,VARTYPE);
|
||||
HRESULT WINAPI VariantChangeTypeEx(VARIANT*,VARIANT*,LCID,USHORT,VARTYPE);
|
||||
HRESULT WINAPI VariantChangeType(VARIANTARG *dst, const VARIANTARG *src, USHORT flags, VARTYPE vt);
|
||||
HRESULT WINAPI VariantChangeTypeEx(VARIANTARG *dst, const VARIANTARG *src, LCID lcid, USHORT flags, VARTYPE vt);
|
||||
|
||||
/* VariantChangeType/VariantChangeTypeEx flags */
|
||||
#define VARIANT_NOVALUEPROP 0x01 /* Don't get the default value property from IDispatch */
|
||||
|
|
Loading…
Reference in a new issue