Jump to content

UniFreeAttrObject: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:


=== 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 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 ===
Line 32: Line 32:


==Related Functions==
==Related Functions==
*UniQueryAttr
*[[UniQueryAttr]]
*UniQueryChar
*[[UniQueryChar]]
*UniQueryCharAttr
*[[UniQueryCharAttr]]
*UniQueryCharType
*[[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