VariantChangeTypeEx(3w)

VariantChangeTypeEx3w

Usage

HRESULT VariantChangeTypeEx
(
VARIANTARG* pvargDest,
VARIANTARG* pvargSrc,
LCID lcid,
USHORT wFlags,
VARTYPE vt
)

Overview

Change the type of a variant.

Params

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.

Returns

Success: S_OK. pvargDest contains the converted value.

Failure: An HRESULT error code describing the failure.

Notes

pvargDest and pvargSrc can point to the same variant to perform an in-place conversion. If the conversion is successful, pvargSrc will be freed.

Implementation

Declared in "oleauto.h".

Implemented in "dlls/oleaut32/variant.c".

Debug channel "variant".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.