Jump to content

WinGetErrorInfo: Difference between revisions

From EDM2
mNo edit summary
(No difference)

Revision as of 17:17, 17 May 2016

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

Back to OS/2 API