VariantChangeType (OLEAUT32.12)
HRESULT VariantChangeType ( VARIANTARG* pvargDest, const VARIANTARG* pvargSrc, USHORT wFlags, VARTYPE vt )
Change the type of a variant.
pvargDest | [Out] | Destination for the converted variant. |
pvargSrc | [Out] | Source variant to change the type of. |
wFlags | [In] | VARIANT_ flags from "oleauto.h". |
vt | [In] | Variant type to change pvargSrc into. |
Success: S_OK. pvargDest contains the converted value.
Failure: An HRESULT error code describing the failure.
The LCID used for the conversion is LOCALE_USER_DEFAULT. See VariantChangeTypeEx.
Declared in "include/propvarutil.h". gitlab.winehq.org/wine/wine/blob/master/include/propvarutil.h
Implemented in "dlls/oleaut32/variant.c". gitlab.winehq.org/wine/wine/blob/master/dlls/oleaut32/variant.c
Debug channel "variant".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.