Scroll to navigation

GetLocaleInfoA(3w) Wine API GetLocaleInfoA(3w)

NAME

GetLocaleInfoA (KERNEL32.@)

SYNOPSIS

INT GetLocaleInfoA
(
LCID lcid,
LCTYPE lctype,
LPSTR buffer,
INT len
)
 

DESCRIPTION

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".
Oct 2012 Wine API