SHARED_MEMORY_INFO Structure
Structure SHARED_MEMORY_INFO contains shared memory information retrieved by RtQuerySharedMemory.
Syntax
typedef struct _SHARED_MEMORY_INFO( DWORD flProtect; DWORD dwSize; } SHARED_MEMORY_INFO, *PSHARED_MEMORY_INFO;
Fields
flProtect
Protection attribute for shared memory. This parameter is ignored under RTSS.
Protection type | Value | Access type |
---|---|---|
SHM_MAP_READ | 1 | Read-only |
SHM_MAP_WRITE | 2 | Read/write |
dwSize
Total size, in bytes, of the shared memory.
Requirements
Minimum Supported Version | RTX64 4.1 |
Header | Rtapi.h |
Library | RtApi.lib (Windows), Rtx_Rtss.lib (RTSS) |