Export (0) Print
Expand All
Expand Minimize

SHUnlockShared function

[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.

Syntax


BOOL SHUnlockShared(
  _In_  void *pvData
);

Parameters

pvData [in]

Type: void*

A pointer to the shared memory block returned by SHLockShared.

Return value

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.

Remarks

Call SHFreeShared to free the memory block.

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

Shlwapi.h

Library

Shlwapi.lib

DLL

Shlwapi.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft