NAME

VariantChangeType  (OLEAUT32.12)

SYNOPSIS

 HRESULT VariantChangeType
 (
  VARIANTARG*       pvargDest,
  const VARIANTARG* pvargSrc,
  USHORT            wFlags,
  VARTYPE           vt
 )

DESCRIPTION

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.

IMPLEMENTATION

Declared in "oleauto.h". https://source.winehq.org/source/include/oleauto.h

Implemented in "dlls/oleaut32/variant.c". https://source.winehq.org/source/dlls/oleaut32/variant.c

Debug channel "variant".


Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jun 2021.