GetSystemDefaultLocaleName function Null safety kernel32

int GetSystemDefaultLocaleName(
  1. Pointer<Utf16> lpLocaleName,
  2. int cchLocaleName
)

Retrieves the system default locale name.

int GetSystemDefaultLocaleName(
  LPWSTR lpLocaleName,
  int    cchLocaleName
);

Implementation

int GetSystemDefaultLocaleName(
        Pointer<Utf16> lpLocaleName, int cchLocaleName) =>
    _GetSystemDefaultLocaleName(lpLocaleName, cchLocaleName);