Jump to content

WinFreeErrorInfo: Difference between revisions

From EDM2
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
Releases the memory occupied by the [[ERRINFO]] type that was allocated by [[WinGetErrorInfo]].
Releases the memory occupied by the [[ERRINFO]] type that was allocated by [[WinGetErrorInfo]].


===Syntax===
==Syntax==
  WinFreeErrorInfo(errInfo)
  WinFreeErrorInfo(errInfo)


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


=== Constants ===
==Returns==
None
 
=== Returns ===
Returns [[BOOL]] with value of:
Returns [[BOOL]] with value of:
*[[TRUE]]
*[[TRUE]]
Line 21: Line 18:
[[Cdecl32]]
[[Cdecl32]]


=== Example Code ===
==Example Code==
  ERRINFO  errorInfo;
  ERRINFO  errorInfo;
  BOOL    rc;
  BOOL    rc;
Line 28: Line 25:
  ...
  ...


=== Related Functions ===
==Related Functions==
*[[WinGetErrorInfo]]
*[[WinGetErrorInfo]]
*[[WinGetLastError]]
*[[WinGetLastError]]


[[Category:Win]]
[[Category:Win]]

Latest revision as of 23:53, 9 May 2020

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.

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