Scroll to navigation

GlobalFree(3w) Wine API GlobalFree(3w)

NAME

GlobalFree (KERNEL32.@)

SYNOPSIS

HGLOBAL GlobalFree
(
HGLOBAL hmem
)
 

DESCRIPTION

Free a global memory object.
 

PARAMS

hmem [In] Handle of the global memory object.
 

RETURNS

Success: NULL
Failure: The provided handle.
 

NOTES

When the handle is invalid, last error is set to ERROR_INVALID_HANDLE
 

IMPLEMENTATION

Declared in "winbase.h".
Implemented in "dlls/kernel32/heap.c".
Debug channel "heap".
Oct 2012 Wine API