WinFreeErrorInfo: Difference between revisions
Appearance
m Martini moved page OS2 API:WinFreeErrorInfo to OS2 API:PMI:WinFreeErrorInfo |
mNo edit summary |
||
Line 1: | Line 1: | ||
== WinFreeErrorInfo == | == WinFreeErrorInfo == | ||
; WinFreeErrorInfo(errInfo) : Releases the memory occupied by the [[ | ; WinFreeErrorInfo(errInfo) : Releases the memory occupied by the [[ERRINFO]] type that was allocated by [[WinGetErrorInfo]]. | ||
=== Parameters === | === Parameters === | ||
; errInfo - [[ | ; errInfo - [[ERRINFO]] - input : Memory block to be released. | ||
=== Constants === | === Constants === | ||
Line 9: | Line 9: | ||
=== Returns === | === Returns === | ||
Returns [[ | Returns [[BOOL]] with value of: | ||
* [[ | *[[TRUE]] | ||
* [[ | *[[FALSE]] | ||
=== Define (C/C++) === | === Define (C/C++) === | ||
INCL_WINERROR or INCL_WIN or INCL_PM | INCL_WINERROR or INCL_WIN or INCL_PM | ||
=== Calling conversion === | === Calling conversion === | ||
Line 24: | Line 20: | ||
=== Example Code === | === Example Code === | ||
ERRINFO errorInfo; | |||
BOOL rc; | |||
... | ... | ||
rc = WinFreeErrorInfo(errorInfo); | rc = WinFreeErrorInfo(errorInfo); | ||
Line 31: | Line 27: | ||
=== Related Functions === | === Related Functions === | ||
[[ | *[[WinGetErrorInfo]] | ||
[[ | *[[WinGetLastError]] | ||
[[Category: | [[Category:Win]] |
Revision as of 19:11, 8 December 2016
WinFreeErrorInfo
- WinFreeErrorInfo(errInfo)
- Releases the memory occupied by the ERRINFO type that was allocated by WinGetErrorInfo.
Parameters
- errInfo - ERRINFO - input
- Memory block to be released.
Constants
None
Returns
Returns BOOL with value of:
Define (C/C++)
INCL_WINERROR or INCL_WIN or INCL_PM
Calling conversion
Example Code
ERRINFO errorInfo; BOOL rc; ... rc = WinFreeErrorInfo(errorInfo); ...