GetDurationFormat method

int GetDurationFormat(
  1. int Locale,
  2. int dwFlags,
  3. Pointer<LPSYSTEMTIME> lpDuration,
  4. int ullDuration,
  5. Pointer<Uint16> lpFormat,
  6. Pointer<Uint16> lpDurationStr,
  7. int cchDuration,
)

Implementation

int GetDurationFormat(
  int Locale,
  int dwFlags,
  ffi.Pointer<LPSYSTEMTIME> lpDuration,
  int ullDuration,
  ffi.Pointer<ffi.Uint16> lpFormat,
  ffi.Pointer<ffi.Uint16> lpDurationStr,
  int cchDuration,
) {
  return (_GetDurationFormat ??=
      _dylib.lookupFunction<_c_GetDurationFormat, _dart_GetDurationFormat>(
          'GetDurationFormat'))(
    Locale,
    dwFlags,
    lpDuration,
    ullDuration,
    lpFormat,
    lpDurationStr,
    cchDuration,
  );
}