Jump to content

UniFreeAttrObject: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(6 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 [[OS2 API:UniCreateAttrObject|UniCreateAttrObject]].
 
=== Syntax ===
UniFreeAttrObject(attrObj)


=== 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 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 ===
 
=== Define (C/C++) ===
 
=== Export name/Ordinal ===


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


=== Example Code ===
=== Example Code ===
  [[OS2 API:DataType:AttrObject|AttrObject]] attrObj;
  AttrObject attrObj;
  integer    rc;
  integer    rc;
  ...
  ...
  rc = UniFreeAttrObject(attrObj);
  rc = UniFreeAttrObject(attrObj);
  ...
  ...
=== Related Functions ===
[[OS2 API:UniQueryAttr|UniQueryAttr]]
[[OS2 API:UniQueryChar|UniQueryChar]]
[[OS2 API:UniQueryCharAttr|UniQueryCharAttr]]
[[OS2 API: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


==Related Functions==
*[[UniQueryAttr]]
*[[UniQueryChar]]
*[[UniQueryCharAttr]]
*[[UniQueryCharType]]


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

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