Jump to content

WinFreeErrorInfo: Difference between revisions

From EDM2
m corrected links
m formatting
Line 1: Line 1:
== WinFreeErrorInfo ==
== WinFreeErrorInfo ==
; WinFreeErrorInfo(errInfo) :
; WinFreeErrorInfo(errInfo) : Releases the memory occupied by the [[OS2 API:DataType:ERRINFO|ERRINFO]] type that was allocated by [[OS2 API:WinGetErrorInfo|WinGetErrorInfo]].
Releases the memory occupied by the [[OS2 API:DataType:ERRINFO|ERRINFO]] type that was allocated by [[OS2 API:WinGetErrorInfo|WinGetErrorInfo]].


=== Parameters ===
=== Parameters ===
; errInfo - [[OS2 API:DataType:ERRINFO|ERRINFO]] - input :
; errInfo - [[OS2 API:DataType:ERRINFO|ERRINFO]] - input : Memory block to be released.
Memory block to be released.


=== Constants ===
=== Constants ===

Revision as of 04:05, 1 May 2006

WinFreeErrorInfo

WinFreeErrorInfo(errInfo)
Releases the memory occupied by the ERRINFO type that was allocated by WinGetErrorInfo.

Parameters

errInfo - ERRINFO - input
Memory block to be released.

Constants

None

Returns

Returns BOOL with value of:

Module

Define (C/C++)

INCL_WINERROR or INCL_WIN or INCL_PM

Export name/Ordinal

Calling conversion

Cdecl32

Example Code

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

Related Functions

WinGetErrorInfo WinGetLastError

Notes

OS Version Introduced