WinGetErrorInfo: Difference between revisions
Appearance
m Ak120 moved page OS2 API:PMI:WinGetErrorInfo to WinGetErrorInfo |
No edit summary |
||
Line 15: | Line 15: | ||
INCL_WINERRORS or INCL_WIN or INCL_PM | INCL_WINERRORS or INCL_WIN or INCL_PM | ||
=== Calling | === Calling Convention === | ||
[[Cdecl32]] | [[Cdecl32]] | ||
Revision as of 19:02, 18 January 2017
WinGetErrorInfo
- WinGetErrorInfo(anchorBlockHndl)
- Get detailed error information.
Parameters
- anchorBlockHndl - HAB - input
- Anchor block handle.
Constants
None
Returns
Define (C/C++)
INCL_WINERRORS or INCL_WIN or INCL_PM
Calling Convention
Example Code
HAB anchorBlockHndl; ERRINFO errinfo; ... errinfo = WinGetErrorInfo(anchorBlockHndl); ...
Related Functions
Notes
WinFreeErrorInfo must be called to release the memory allocated by WinGetErrorInfo for the ERRINFO.