Jump to content

UniFreeLocaleInfo: Difference between revisions

From EDM2
New entry
 
Ak120 (talk | contribs)
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== UniFreeLocaleInfo ==
Free the locale information object that was allocated by [[UniQueryLocaleInfo]].
; UniFreeLocaleInfo(localeInfObj) : Free the locale information object that was allocated by [[OS2 API:UniQueryLocaleInfo|UniQueryLocaleInfo]].
 
===Syntax===
UniFreeLocaleInfo(localeInfObj) ;


=== 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 10: 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]]


=== Module ===
=== Calling Convention ===
 
=== Define (C/C++) ===
 
=== Export name/Ordinal ===
 
=== Calling conversion ===
[[Cdecl32]]
[[Cdecl32]]


=== Example Code ===
=== Example Code ===
  [[OS2 API:DataType:UniLconv|UniLconv]] localeInfoObj;
  [[UniLconv]] localeInfoObj;
  integer  rc;
  integer  rc;
  ...
  ...
Line 30: Line 26:


=== Related Functions ===
=== Related Functions ===
[[OS2 API:UniQueryLocaleInfo|UniQueryLocaleInfo]]
*[[UniQueryLocaleInfo]]


=== Notes ===
=== Notes ===
[[OS2 API:UniFreeLocaleInfo|UniFreeLocaleInfo]] frees the memory used by the [[OS2 API:DataType:UniLconv|UniLconv]] object.
'''UniFreeLocaleInfo''' frees the memory used by the [[UniLconv]] object.


=== OS Version Introduced ===
=== OS Version Introduced ===
OS/2 Warp
OS/2 Warp
[[Category:Uni]]

Latest 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

Notes

UniFreeLocaleInfo frees the memory used by the UniLconv object.

OS Version Introduced

OS/2 Warp