Jump to content

WinGetErrorInfo: Difference between revisions

From EDM2
WinGetErrorInfo created.
(No difference)

Revision as of 20:40, 11 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