GetLocaleInfoA3w
Usage
INT GetLocaleInfoA
(
LCID lcid,
LCTYPE lctype,
LPSTR buffer,
INT len
)
Overview
Get information about an aspect of a locale.
Params
lcid [In] LCID of the locale.
lctype [In] LCTYPE_ flags from "winnls.h".
buffer [Out] Destination for the information.
len [In] Length of buffer in characters.
Returns
Success: The size of the data requested. If buffer is non-NULL, it is filled with the information.
Failure: 0. Use GetLastError(3w) to determine the cause.
Notes
- LOCALE_NEUTRAL is equal to LOCALE_SYSTEM_DEFAULT
- The string returned is NUL terminated, except for LOCALE_FONTSIGNATURE, which is a bit string.
Implementation
Declared in "winnls.h".
Implemented in "dlls/kernel32/locale.c".
Debug channel "nls".
Releases
5 releases since Debian 2.1 (Slink); the text changed 4 times.