GetLocaleInfoA(3w)

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.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.