GetLocaleInfoA.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "winnls.h".

Implemented in "dlls/kernel32/locale.c".

Debug channel "nls".