SHUnlockShared function (shlwapi.h)
[SHUnlockShared is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Unlocks memory locked by SHLockShared.
BOOL SHUnlockShared(
[in] void *pvData
);
[in] pvData
Type: void*
A pointer to the shared memory block returned by SHLockShared.
Type: BOOL
If the function succeeds, the return value is TRUE and all modified pages within the specified range are written to the disk with low priority. If the function fails, the return value is FALSE. To get extended error information, call GetLastError.
Call SHFreeShared to free the memory block.
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 |