Jump to content

UniFreeLocaleInfo: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
Free the locale information object that was allocated by [[OS2 API:UniQueryLocaleInfo|UniQueryLocaleInfo]].
Free the locale information object that was allocated by [[UniQueryLocaleInfo]].


===Syntax===
===Syntax===
Line 5: Line 5:


=== Parameters ===
=== Parameters ===
; localeInfObj - [[OS2 API:DataType:UniLconv|UniLconv]] - input : The locale information object that had been created with [[OS2 API:UniQueryLocaleInfo|UniQueryLocaleInfo]].
;localeInfObj - [[UniLconv]] - input : The locale information object that had been created with UniQueryLocaleInfo.


=== Constants ===
=== Constants ===
Line 12: Line 12:
=== Returns ===
=== Returns ===
An integer with values of:
An integer with values of:
* [[OS2 API:Unicode:error#ULS_BADOBJ|ULS_BADOBJ]]
* [[Unicode Errors#ULS_BADOBJ|ULS_BADOBJ]]
* [[OS2 API:Unicode:error#ULS_SUCCESS|ULS_SUCCESS]]
* [[Unicode Errors#ULS_SUCCESS|ULS_SUCCESS]]


=== Calling Convention ===
=== Calling Convention ===

Revision as of 15:56, 12 March 2018

Free the locale information object that was allocated by UniQueryLocaleInfo.

Syntax

UniFreeLocaleInfo(localeInfObj) ; 

Parameters

localeInfObj - UniLconv - input
The locale information object that had been created with UniQueryLocaleInfo.

Constants

None

Returns

An integer with values of:

Calling Convention

Cdecl32

Example Code

UniLconv localeInfoObj;
integer  rc;
...
rc = UniFreeLocaleInfo(localeInfoObj);
...

Related Functions

UniQueryLocaleInfo

Notes

UniFreeLocaleInfo frees the memory used by the UniLconv object.

OS Version Introduced

OS/2 Warp