SHAllocShared (SHLWAPI.7)
HANDLE SHAllocShared ( LPCVOID lpvData, DWORD dwSize, DWORD dwProcId )
Create a block of sharable memory and initialise it with data.
lpvData | [In] | Pointer to data to write. |
dwSize | [In] | Size of data. |
dwProcId | [In] | Id of process owning data. |
Success: A shared memory handle
Failure: NULL.
Ordinals 7-11 provide a set of calls to create shared memory between a group of processes. The shared memory is treated opaquely in that its size is not exposed to clients who map it. This is accomplished by storing the size of the map as the first DWORD of mapped data, and then offsetting the view pointer returned by this size.
Declared in "include/shlwapi.h". gitlab.winehq.org/wine/wine/blob/master/include/shlwapi.h
Implemented in "dlls/shlwapi/ordinal.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shlwapi/ordinal.c
Debug channel "shell".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.