Jump to content

UniFreeLocaleObject: Difference between revisions

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


=== Parameters ===
=== Parameters ===
; localeObj - [[OS2 API:DataType:LocaleObject|LocaleObject]] - input : The locale object that had been created with [[OS2 API:UniCreateLocaleObject|UniCreateLocaleObject]].
; localeObj - [[LocaleObject]] - input : The locale object that had been created with [[UniCreateLocaleObject]].


=== 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:LocaleObject|LocaleObject]] localeObj;
  LocaleObject localeObj;
  integer      rc;
  integer      rc;
  ...
  ...
Line 30: Line 26:


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


=== Notes ===
=== Notes ===
[[OS2 API:UniFreeLocaleObject|UniFreeLocaleObject]] frees the memory used by the [[OS2 API:DataType:LocaleObject|LocaleObject]].
UniFreeLocaleObject frees the memory used by the [[LocaleObject]].


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

Latest revision as of 15:58, 12 March 2018

Free the locale object that was allocated by UniCreateLocaleObject.

Syntax

UniFreeLocaleObject(localeObj); 

Parameters

localeObj - LocaleObject - input
The locale object that had been created with UniCreateLocaleObject.

Constants

None

Returns

An integer with values of:

Calling Convention

Cdecl32

Example Code

LocaleObject localeObj;
integer      rc;
...
rc = UniCreateLocaleObject(localeObj);
...

Related Functions

Notes

UniFreeLocaleObject frees the memory used by the LocaleObject.

OS Version Introduced

OS/2 Warp