WinFreeErrorInfo: Difference between revisions
Appearance
m Ak120 moved page OS2 API:PMI:WinFreeErrorInfo to WinFreeErrorInfo |
mNo edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Releases the memory occupied by the [[ERRINFO]] type that was allocated by [[WinGetErrorInfo]]. | |||
== | ==Syntax== | ||
WinFreeErrorInfo(errInfo) | |||
== | ==Parameters== | ||
;errInfo - [[ERRINFO]] - input : Memory block to be released. | |||
==Returns== | |||
Returns [[BOOL]] with value of: | Returns [[BOOL]] with value of: | ||
*[[TRUE]] | *[[TRUE]] | ||
Line 16: | Line 15: | ||
INCL_WINERROR or INCL_WIN or INCL_PM | INCL_WINERROR or INCL_WIN or INCL_PM | ||
=== Calling | === Calling Convention === | ||
[[Cdecl32]] | [[Cdecl32]] | ||
==Example Code== | |||
ERRINFO errorInfo; | ERRINFO errorInfo; | ||
BOOL rc; | BOOL rc; | ||
Line 26: | Line 25: | ||
... | ... | ||
==Related Functions== | |||
*[[WinGetErrorInfo]] | *[[WinGetErrorInfo]] | ||
*[[WinGetLastError]] | *[[WinGetLastError]] | ||
[[Category:Win]] | [[Category:Win]] |
Latest revision as of 23:53, 9 May 2020
Releases the memory occupied by the ERRINFO type that was allocated by WinGetErrorInfo.
Syntax
WinFreeErrorInfo(errInfo)
Parameters
- errInfo - ERRINFO - input
- Memory block to be released.
Returns
Returns BOOL with value of:
Define (C/C++)
INCL_WINERROR or INCL_WIN or INCL_PM
Calling Convention
Example Code
ERRINFO errorInfo; BOOL rc; ... rc = WinFreeErrorInfo(errorInfo); ...