Jump to content

WinFreeErrorInfo: Difference between revisions

From EDM2
mNo edit summary
Line 1: Line 1:
== WinFreeErrorInfo ==
Releases the memory occupied by the [[ERRINFO]] type that was allocated by [[WinGetErrorInfo]].
; WinFreeErrorInfo(errInfo) : Releases the memory occupied by the [[ERRINFO]] type that was allocated by [[WinGetErrorInfo]].
 
===Syntax===
WinFreeErrorInfo(errInfo)


=== Parameters ===
=== Parameters ===

Revision as of 05:07, 20 May 2018

Releases the memory occupied by the ERRINFO type that was allocated by WinGetErrorInfo.

Syntax

WinFreeErrorInfo(errInfo)

Parameters

errInfo - ERRINFO - input
Memory block to be released.

Constants

None

Returns

Returns BOOL with value of:

Define (C/C++)

INCL_WINERROR or INCL_WIN or INCL_PM

Calling Convention

Cdecl32

Example Code

ERRINFO  errorInfo;
BOOL     rc;
...
rc = WinFreeErrorInfo(errorInfo);
...

Related Functions