Jump to content

WinFreeErrorInfo: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
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]].


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


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


=== Returns ===
==Returns==
Returns [[BOOL]] with value of:
Returns [[BOOL]] with value of:
*[[TRUE]]
*[[TRUE]]
Line 16: Line 15:
INCL_WINERROR or INCL_WIN or INCL_PM
INCL_WINERROR or INCL_WIN or INCL_PM


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


=== Example Code ===
==Example Code==
  ERRINFO  errorInfo;
  ERRINFO  errorInfo;
  BOOL    rc;
  BOOL    rc;
Line 26: 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