VariantTimeToDosDateTime function Null safety oleaut32
Converts the variant representation of a date and time to MS-DOS date and time values.
INT VariantTimeToDosDateTime(
DOUBLE vtime,
USHORT *pwDosDate,
USHORT *pwDosTime
);
Implementation
int VariantTimeToDosDateTime(
double vtime, Pointer<Uint16> pwDosDate, Pointer<Uint16> pwDosTime) {
final _VariantTimeToDosDateTime = _oleaut32.lookupFunction<
Int32 Function(
Double vtime, Pointer<Uint16> pwDosDate, Pointer<Uint16> pwDosTime),
int Function(double vtime, Pointer<Uint16> pwDosDate,
Pointer<Uint16> pwDosTime)>('VariantTimeToDosDateTime');
return _VariantTimeToDosDateTime(vtime, pwDosDate, pwDosTime);
}