VariantChangeType(3w)

VariantChangeType3w

Usage

HRESULT VariantChangeType
(
VARIANTARG* pvargDest,
VARIANTARG* pvargSrc,
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.

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

The LCID used for the conversion is LOCALE_USER_DEFAULT. See VariantChangeTypeEx(3w).

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.