VariantClear function Null safety oleaut32

int VariantClear(
  1. Pointer<VARIANT> pvarg
)

Clears a variant.

HRESULT VariantClear(
  VARIANTARG *pvarg
);

Implementation

int VariantClear(Pointer<VARIANT> pvarg) {
  final _VariantClear = _oleaut32.lookupFunction<
      Int32 Function(Pointer<VARIANT> pvarg),
      int Function(Pointer<VARIANT> pvarg)>('VariantClear');
  return _VariantClear(pvarg);
}