The FreeSharedMemory function frees a block of shared memory previously allocated by the AllocateSharedMemory function.
- SharedMem [in]
Pointer to the shared memory section previously reserved using the CreateSharedMemory function.
- Memory [in]
Pointer to the memory previously allocated from the shared memory section specified by the SharedMem parameter, using the AllocateSharedMemory function.
This function does not return a value.
Minimum supported client
|Windows XP [desktop apps only]|
Minimum supported server
|Windows Server 2003 [desktop apps only]|