VariantChangeType function Null safety oleaut32

int VariantChangeType(
  1. Pointer<VARIANT> pvargDest,
  2. Pointer<VARIANT> pvarSrc,
  3. int wFlags,
  4. int vt
)

Converts a variant from one type to another.

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

Implementation

int VariantChangeType(Pointer<VARIANT> pvargDest, Pointer<VARIANT> pvarSrc,
        int wFlags, int vt) =>
    _VariantChangeType(pvargDest, pvarSrc, wFlags, vt);