Jump to content

UniFreeAttrObject: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== UniFreeAttrObject ==
Free the character attribute object that was allocated by UniCreateAttrObject.
; UniFreeAttrObject(attrObj) : Free the character attribute object that was allocated by [[UniCreateAttrObject]].
 
=== Syntax ===
UniFreeAttrObject(attrObj)


=== Parameters ===
=== Parameters ===
; attrObj - [[AttrObject]] - input : The character attribute object that had been created with UniCreateAttrObject.
;attrObj - [[AttrObject]] - input : The character attribute object that had been created with UniCreateAttrObject.


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


=== Calling conversion ===
=== Calling Convention ===
[[Cdecl32]]
[[Cdecl32]]


Line 22: Line 24:
  rc = UniFreeAttrObject(attrObj);
  rc = UniFreeAttrObject(attrObj);
  ...
  ...
=== Related Functions ===
*[[UniQueryAttr]]
*[[UniQueryChar]]
*[[UniQueryCharAttr]]
*[[UniQueryCharType]]


=== Notes ===
=== Notes ===
Line 34: Line 30:
=== OS Version Introduced ===
=== OS Version Introduced ===
OS/2 Warp
OS/2 Warp
==Related Functions==
*[[UniQueryAttr]]
*[[UniQueryChar]]
*[[UniQueryCharAttr]]
*[[UniQueryCharType]]


[[Category:Uni]]
[[Category:Uni]]

Latest revision as of 18:21, 4 December 2019

Free the character attribute object that was allocated by UniCreateAttrObject.

Syntax

UniFreeAttrObject(attrObj)

Parameters

attrObj - AttrObject - input
The character attribute object that had been created with UniCreateAttrObject.

Constants

None

Returns

An integer with values of:

Calling Convention

Cdecl32

Example Code

AttrObject attrObj;
integer    rc;
...
rc = UniFreeAttrObject(attrObj);
...

Notes

UniFreeAttrObject frees the memory used by the AttrObject.

OS Version Introduced

OS/2 Warp

Related Functions