Jump to content

WinGetErrorInfo: Difference between revisions

From EDM2
WinGetErrorInfo created.
 
Prokushev (talk | contribs)
NULL constant link added
Line 12: Line 12:
=== Returns ===
=== Returns ===
* [[OS2 API:DataType:ERRINFO|ERRINFO]]
* [[OS2 API:DataType:ERRINFO|ERRINFO]]
* NULL
* [[OS2 API:Constant:NULL|NULL]]


=== Module ===
=== Module ===

Revision as of 06:59, 12 May 2005

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

Cdecl32

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.

OS Version Introduced