SSFreeMem

SSFreeMem frees shared memory that was allocated by a call to SSAllocMem.

Syntax
SSFreeMem(BaseAddress);

Parameters

 * BaseAddress (PVOID) - input
 * Base address
 * Base address of the memory object to be freed.

Returns

 * rc (ULONG) - returns : Return codes.


 * SSFreeMem returns a ULONG value:
 * NO_ERROR
 * ERROR_ACCESS_DENIED
 * ERROR_INVALID_PARAMETER.

Sample

 * 1) include 

PVOID   BaseAddress;  /*  Base address */ ULONG   rc;           /*  Return codes. */

rc = SSFreeMem(BaseAddress);