UniFreeAttrObject: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Free the character attribute object that was allocated by UniCreateAttrObject. | |||
=== Syntax === | |||
UniFreeAttrObject(attrObj) | |||
=== Parameters === | === Parameters === | ||
; attrObj - [[ | ;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: | ||
* [[ | * [[Unicode Errors#ULS_BADOBJ|ULS_BADOBJ]] | ||
* [[ | * [[Unicode Errors#ULS_SUCCESS|ULS_SUCCESS]] | ||
=== Calling | === Calling Convention === | ||
[[Cdecl32]] | [[Cdecl32]] | ||
=== Example Code === | === Example Code === | ||
AttrObject attrObj; | |||
integer rc; | integer rc; | ||
... | ... | ||
rc = UniFreeAttrObject(attrObj); | rc = UniFreeAttrObject(attrObj); | ||
... | ... | ||
=== Notes === | === Notes === | ||
UniFreeAttrObject frees the memory used by the [[AttrObject]]. | |||
=== OS Version Introduced === | === OS Version Introduced === | ||
OS/2 Warp | OS/2 Warp | ||
==Related Functions== | |||
*[[UniQueryAttr]] | |||
*[[UniQueryChar]] | |||
*[[UniQueryCharAttr]] | |||
*[[UniQueryCharType]] | |||
[[Category:Uni]] | |||
[[Category: |
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
Example Code
AttrObject attrObj; integer rc; ... rc = UniFreeAttrObject(attrObj); ...
Notes
UniFreeAttrObject frees the memory used by the AttrObject.
OS Version Introduced
OS/2 Warp