SHFreeShared function (shlwapi.h)
[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
[in] hData
Type: HANDLE
A handle to the mapped memory.
[in] dwProcessId
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
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shlwapi.h |
Library | Shlwapi.lib |
DLL | Shlwapi.dll (version 5.0 or later) |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για