VariantCopy function Null safety oleaut32

int VariantCopy(
  1. Pointer<VARIANT> pvargDest,
  2. Pointer<VARIANT> pvargSrc
)

Frees the destination variant and makes a copy of the source variant.

HRESULT VariantCopy(
  VARIANTARG       *pvargDest,
  const VARIANTARG *pvargSrc
);

Implementation

int VariantCopy(Pointer<VARIANT> pvargDest, Pointer<VARIANT> pvargSrc) =>
    _VariantCopy(pvargDest, pvargSrc);