WinGetErrorInfo: Difference between revisions
Appearance
m formatting |
mNo edit summary |
||
Line 37: | Line 37: | ||
=== OS Version Introduced === | === OS Version Introduced === | ||
[[OS2_API | Back to OS/2 API]] | |||
[[Category:The OS/2 API Project]] |
Revision as of 06:18, 30 October 2011
WinGetErrorInfo
- WinGetErrorInfo(anchorBlockHndl)
- Get detailed error information.
Parameters
- anchorBlockHndl - HAB - input
- Anchor block handle.
Constants
None
Returns
Module
Define (C/C++)
INCL_WINERRORS or INCL_WIN or INCL_PM
Export name/Ordinal
Calling conversion
Example Code
HAB anchorBlockHndl; ERRINFO errinfo; ... errinfo = WinGetErrorInfo(anchorBlockHndl); ...
Related Functions
WinFreeErrorInfo WinGetLastError
Notes
WinFreeErrorInfo must be called to release the memory allocated by WinGetErrorInfo for the ERRINFO.