Jump to content

WinFreeErrorInfo: Difference between revisions

From EDM2
m corrected INCL_ stuff
Anakor (talk | contribs)
No edit summary
Line 1: Line 1:
== WinFreeErrorInfo ==
== WinFreeErrorInfo ==
; WinFreeErrorInfo(errInfo) :
; WinFreeErrorInfo(errInfo) :
Releases the memory occupied by the [[OS2 API:DataType:ERRORINFO|ERRORINFO]] 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:ERRORINFO|ERRORINFO]] - input :
; errInfo - [[OS2 API:DataType:ERRINFO|ERRINFO]] - input :
Memory block to be released.
Memory block to be released.


Line 26: Line 26:


=== Example Code ===
=== Example Code ===
  [[OS2 API:DataType:ERRORINFO|ERRORINFO]]  errorInfo;
  [[OS2 API:DataType:ERRINFO|ERRINFO]]  errorInfo;
  [[OS2 API:DataType:BOOL|BOOL]]      rc;
  [[OS2 API:DataType:BOOL|BOOL]]      rc;
  ...
  ...

Revision as of 02:38, 23 May 2005

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