SHARED_MEMORY_INFO Structure
Structure SHARED_MEMORY_INFO contains shared memory information retrieved by RtQuerySharedMemory.
Syntax
Copy
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.
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 | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
Rtapi.h | rtkrnl.lib |
See Also: