WinFreeErrorInfo: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Releases the memory occupied by the [[ERRINFO]] type that was allocated by [[WinGetErrorInfo]]. | Releases the memory occupied by the [[ERRINFO]] type that was allocated by [[WinGetErrorInfo]]. | ||
==Syntax== | |||
WinFreeErrorInfo(errInfo) | WinFreeErrorInfo(errInfo) | ||
==Parameters== | |||
; errInfo - [[ERRINFO]] - input : Memory block to be released. | ;errInfo - [[ERRINFO]] - input : Memory block to be released. | ||
==Returns== | |||
Returns [[BOOL]] with value of: | Returns [[BOOL]] with value of: | ||
*[[TRUE]] | *[[TRUE]] | ||
Line 21: | Line 18: | ||
[[Cdecl32]] | [[Cdecl32]] | ||
==Example Code== | |||
ERRINFO errorInfo; | ERRINFO errorInfo; | ||
BOOL rc; | BOOL rc; | ||
Line 28: | 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); ...