GetDateFormatA method

int GetDateFormatA(
  1. int Locale,
  2. int dwFlags,
  3. Pointer<LPSYSTEMTIME> lpDate,
  4. Pointer<Int8> lpFormat,
  5. Pointer<Int8> lpDateStr,
  6. int cchDate,
)

Implementation

int GetDateFormatA(
  int Locale,
  int dwFlags,
  ffi.Pointer<LPSYSTEMTIME> lpDate,
  ffi.Pointer<ffi.Int8> lpFormat,
  ffi.Pointer<ffi.Int8> lpDateStr,
  int cchDate,
) {
  return (_GetDateFormatA ??=
      _dylib.lookupFunction<_c_GetDateFormatA, _dart_GetDateFormatA>(
          'GetDateFormatA'))(
    Locale,
    dwFlags,
    lpDate,
    lpFormat,
    lpDateStr,
    cchDate,
  );
}