VariantChangeTypeEx (OLEAUT32.147)
HRESULT VariantChangeTypeEx ( VARIANTARG* pvargDest, VARIANTARG* pvargSrc, LCID lcid, 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. |
| lcid | [In] | LCID for the conversion. |
| 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.
pvargDest and pvargSrc can point to the same variant to perform an in-place conversion. If the conversion is successful, pvargSrc will be freed.
Defined in "oleauto.h".
Implemented in "dlls/oleaut32/variant.c". source.winehq.org/source/dlls/oleaut32/variant.c
Debug channel "variant".
Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated May 2006.