[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( HANDLE hData, DWORD dwProcessId );
A handle to the memory you want to map into the calling process.
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.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|