VariantTimeToSystemTime function Null safety oleaut32

int VariantTimeToSystemTime (
  1. double vtime,
  2. Pointer<SYSTEMTIME> lpSystemTime
)

Converts the variant representation of time to system time values.

INT VariantTimeToSystemTime(
  DOUBLE       vtime,
  LPSYSTEMTIME lpSystemTime
);

Implementation

int VariantTimeToSystemTime(double vtime, Pointer<SYSTEMTIME> lpSystemTime) {
  final _VariantTimeToSystemTime = _oleaut32.lookupFunction<
      Int32 Function(Double vtime, Pointer<SYSTEMTIME> lpSystemTime),
      int Function(double vtime,
          Pointer<SYSTEMTIME> lpSystemTime)>('VariantTimeToSystemTime');
  return _VariantTimeToSystemTime(vtime, lpSystemTime);
}