Jump to content

UniQueryLocaleInfo

From EDM2
Revision as of 20:01, 2 November 2016 by Ak120 (talk | contribs) (Ak120 moved page OS2 API:UniQueryLocaleInfo to UniQueryLocaleInfo)

UniQueryLocaleInfo

UniQueryLocaleInfo(localeObj, result)
Get information about the locale conventions.

Parameters

localeObj - LocaleObject - input
The locale object created from UniCreateLocaleObject.
result - UniLconv - output
The item to hold the locale conventions information.

Constants

None

Returns

An integer with values of:

Module

Define (C/C++)

Export name/Ordinal

Calling conversion

Cdecl32

Example Code

LocaleObject localeObj;
UniLconv     result;
integer      rc;
...
rc = UniQueryLocaleInfo(localeObj, result);
...

Related Functions

UniFreeLocaleInfo

Notes

UniQueryLocaleInfo returns information from the localeObj and places information in the UniLconv structure. UniQueryLocaleInfo allocates the memory to hold the UniLconv structure. The application must free the memory using UniFreeLocaleInfo when the structure is no longer needed. The UniLconv structure is filled using the locale provided by localeObj.

OS Version Introduced

  • OS/2 Warp