VariantChangeType(3w)

NAME

VariantChangeType (OLEAUT32.12)

SYNOPSIS

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

IMPLEMENTATION

Defined in "oleauto.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/oleaut32/variant.c".

Debug channel "variant".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout