GetSystemPreferredUILanguages method

int GetSystemPreferredUILanguages(
  1. int dwFlags,
  2. Pointer<Uint64> pulNumLanguages,
  3. Pointer<Uint16> pwszLanguagesBuffer,
  4. Pointer<Uint64> pcchLanguagesBuffer,
)

Implementation

int GetSystemPreferredUILanguages(
  int dwFlags,
  ffi.Pointer<ffi.Uint64> pulNumLanguages,
  ffi.Pointer<ffi.Uint16> pwszLanguagesBuffer,
  ffi.Pointer<ffi.Uint64> pcchLanguagesBuffer,
) {
  return (_GetSystemPreferredUILanguages ??= _dylib.lookupFunction<
      _c_GetSystemPreferredUILanguages,
      _dart_GetSystemPreferredUILanguages>('GetSystemPreferredUILanguages'))(
    dwFlags,
    pulNumLanguages,
    pwszLanguagesBuffer,
    pcchLanguagesBuffer,
  );
}