Jump to content

WinGetErrorInfo: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== WinGetErrorInfo ==
Get detailed error information.
; WinGetErrorInfo(anchorBlockHndl) : Get detailed error information.
 
===Syntax===
WinGetErrorInfo(anchorBlockHndl)


=== Parameters ===
=== Parameters ===
Line 15: Line 17:
INCL_WINERRORS or INCL_WIN or INCL_PM
INCL_WINERRORS or INCL_WIN or INCL_PM


=== Calling conversion ===
=== Calling Convention ===
[[Cdecl32]]
[[Cdecl32]]



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.