Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[SHLockShared is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Maps a block of memory from a specified process into the calling process.
void * SHLockShared(
[in] HANDLE hData,
[in] DWORD dwProcessId
);
[in] hData
Type: HANDLE
A handle to the memory you want to map into the calling process.
[in] dwProcessId
Type: DWORD
The process ID of the process from which you want to map the block of memory.
Returns a void pointer to the shared memory. Returns NULL if unsuccessful.
Call SHUnlockShared to unlock the memory that this function maps. Call SHFreeShared to release the memory.
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 |
DLL | Shlwapi.dll |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!