GetLocaleInfoEx function Null safety kernel32
Retrieves information about a locale specified by name.
int GetLocaleInfoEx(
LPCWSTR lpLocaleName,
LCTYPE LCType,
LPWSTR lpLCData,
int cchData
);
Implementation
int GetLocaleInfoEx(Pointer<Utf16> lpLocaleName, int LCType,
Pointer<Utf16> lpLCData, int cchData) {
final _GetLocaleInfoEx = _kernel32.lookupFunction<
Int32 Function(Pointer<Utf16> lpLocaleName, Uint32 LCType,
Pointer<Utf16> lpLCData, Int32 cchData),
int Function(Pointer<Utf16> lpLocaleName, int LCType,
Pointer<Utf16> lpLCData, int cchData)>('GetLocaleInfoEx');
return _GetLocaleInfoEx(lpLocaleName, LCType, lpLCData, cchData);
}