WinGetErrorInfo: Difference between revisions
Appearance
NULL constant link added |
m formatting |
||
Line 1: | Line 1: | ||
== WinGetErrorInfo == | == WinGetErrorInfo == | ||
; WinGetErrorInfo(anchorBlockHndl) : | ; WinGetErrorInfo(anchorBlockHndl) : Get detailed error information. | ||
Get detailed error information. | |||
=== Parameters === | === Parameters === | ||
; anchorBlockHndl - [[OS2 API:DataType:HAB|HAB]] - input : | ; anchorBlockHndl - [[OS2 API:DataType:HAB|HAB]] - input : Anchor block handle. | ||
Anchor block handle. | |||
=== Constants === | === Constants === |
Revision as of 04:04, 1 May 2006
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.