SHFreeShared function
[SHFreeShared is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Frees shared memory, regardless of which process allocated it.
Syntax
BOOL SHFreeShared( _In_ HANDLE hData, _In_ DWORD dwProcessId );
Parameters
- hData [in]
-
Type: HANDLE
A handle to the mapped memory.
- dwProcessId [in]
-
Type: DWORD
The process ID of the process from which the memory was allocated.
Return value
Type: BOOL
Returns TRUE if successful; otherwise, FALSE. To get extended error information, call GetLastError.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
End of client support |
Windows XP with SP2 |
|
End of server support |
Windows Server 2003 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also