Jump to content

UniFreeAttrObject: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
== UniFreeAttrObject ==
== UniFreeAttrObject ==
; UniFreeAttrObject(attrObj) : Free the character attribute object that was allocated by [[OS2 API:UniCreateAttrObject|UniCreateAttrObject]].
; UniFreeAttrObject(attrObj) : Free the character attribute object that was allocated by [[UniCreateAttrObject]].


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


=== Constants ===
=== Constants ===
Line 12: Line 12:
* [[OS2 API:Unicode:error#ULS_BADOBJ|ULS_BADOBJ]]
* [[OS2 API:Unicode:error#ULS_BADOBJ|ULS_BADOBJ]]
* [[OS2 API:Unicode:error#ULS_SUCCESS|ULS_SUCCESS]]
* [[OS2 API:Unicode:error#ULS_SUCCESS|ULS_SUCCESS]]
=== Module ===
=== Define (C/C++) ===
=== Export name/Ordinal ===


=== Calling conversion ===
=== Calling conversion ===
Line 23: Line 17:


=== Example Code ===
=== Example Code ===
  [[OS2 API:DataType:AttrObject|AttrObject]] attrObj;
  AttrObject attrObj;
  integer    rc;
  integer    rc;
  ...
  ...
Line 30: Line 24:


=== Related Functions ===
=== Related Functions ===
[[OS2 API:UniQueryAttr|UniQueryAttr]]
*[[UniQueryAttr]]
[[OS2 API:UniQueryChar|UniQueryChar]]
*[[UniQueryChar]]
[[OS2 API:UniQueryCharAttr|UniQueryCharAttr]]
*[[UniQueryCharAttr]]
[[OS2 API:UniQueryCharType|UniQueryCharType]]
*[[UniQueryCharType]]


=== Notes ===
=== Notes ===
[[OS2 API:UniFreeAttrObject|UniFreeAttrObject]] frees the memory used by the [[OS2 API:DataType:AttrObject|AttrObject]].
UniFreeAttrObject frees the memory used by the [[AttrObject]].


=== OS Version Introduced ===
=== OS Version Introduced ===
OS/2 Warp
OS/2 Warp


 
[[Category:Uni]]
 
[[OS2_API | Back to OS/2 API]]
 
 
[[Category:The OS/2 API Project]]

Revision as of 20:56, 4 December 2016

UniFreeAttrObject

UniFreeAttrObject(attrObj)
Free the character attribute object that was allocated by UniCreateAttrObject.

Parameters

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

Constants

None

Returns

An integer with values of:

Calling conversion

Cdecl32

Example Code

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

Related Functions

Notes

UniFreeAttrObject frees the memory used by the AttrObject.

OS Version Introduced

OS/2 Warp