WinGetErrorInfo: Difference between revisions
Appearance
m Ak120 moved page OS2 API:PMI:WinGetErrorInfo to WinGetErrorInfo |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== | Get detailed error information. | ||
===Syntax=== | |||
WinGetErrorInfo(anchorBlockHndl) | |||
=== Parameters === | === Parameters === | ||
Line 15: | Line 17: | ||
INCL_WINERRORS or INCL_WIN or INCL_PM | INCL_WINERRORS or INCL_WIN or INCL_PM | ||
=== Calling | === Calling Convention === | ||
[[Cdecl32]] | [[Cdecl32]] | ||
Latest revision as of 05:09, 20 May 2018
Get detailed error information.
Syntax
WinGetErrorInfo(anchorBlockHndl)
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.