RtQuerySharedMemory
RtQuerySharedMemory returns shared memory information.
Syntax
Copy
BOOL RtQuerySharedMemory(
HANDLE hHandle,
PSHARED_MEMORY_INFO pSharedMemoryInfo
);
Parameters
hHandle
A handle to the shared memory object that you want to get information on.
pSharedMemoryInfo
A pointer to a SHARED_MEMORY_INFO structure that receives the shared memory information.
Return Value
If the function succeeds, it returns TRUE. If the function fails, it returns FALSE. For extended error information, call GetLastError.
Possible error codes:
Code | Meaning |
---|---|
ERROR_INVALID_HANDLE | The process handle cannot be found. |
ERROR_INVALID_PARAMETER | The specified parameter is invalid. |
Requirements
Minimum supported version | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
Rtapi.h | rtkrnl.lib |
See Also: