GetTimeFormatW method

int GetTimeFormatW(
  1. int Locale,
  2. int dwFlags,
  3. Pointer<LPSYSTEMTIME> lpTime,
  4. Pointer<Uint16> lpFormat,
  5. Pointer<Uint16> lpTimeStr,
  6. int cchTime,
)

Implementation

int GetTimeFormatW(
  int Locale,
  int dwFlags,
  ffi.Pointer<LPSYSTEMTIME> lpTime,
  ffi.Pointer<ffi.Uint16> lpFormat,
  ffi.Pointer<ffi.Uint16> lpTimeStr,
  int cchTime,
) {
  return (_GetTimeFormatW ??=
      _dylib.lookupFunction<_c_GetTimeFormatW, _dart_GetTimeFormatW>(
          'GetTimeFormatW'))(
    Locale,
    dwFlags,
    lpTime,
    lpFormat,
    lpTimeStr,
    cchTime,
  );
}