Jump to content

WinGetErrorInfo: Difference between revisions

From EDM2
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
Get detailed error information.
Get detailed error information.


===Syntax==
===Syntax===
  WinGetErrorInfo(anchorBlockHndl)
  WinGetErrorInfo(anchorBlockHndl)



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

Cdecl32

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.