LocalFree

Syntax

HANDLE LocalFree(hMem)

This function frees the local memory block identified by the hMem parameter and
invalidates the handle of the memory block.

Parameter Type/Description  

hMem HANDLE Identifies the local memory block to be freed.  

Return Value

The return value specifies the outcome of the function. It is NULL if the function is successful. Otherwise, it is equal to hMem.