How to partially map a shared memory
-
Hi , I have created a shared memory using CreateSharedMemory () and mapping is done using MapViewOfFile () API. Is it possible to map only some part of Shared Memory? Does DWORD dwOffSetHigh and DWORD dwOffsetLow (i.e 3rd and 4th Parameter of MapViewOfFile () Method) need to be modified considering Allocation Granularity. Currently I can see the System granularity as 65535 using GetSystemInfo (). Thanks
-
Hi , I have created a shared memory using CreateSharedMemory () and mapping is done using MapViewOfFile () API. Is it possible to map only some part of Shared Memory? Does DWORD dwOffSetHigh and DWORD dwOffsetLow (i.e 3rd and 4th Parameter of MapViewOfFile () Method) need to be modified considering Allocation Granularity. Currently I can see the System granularity as 65535 using GetSystemInfo (). Thanks