RtfwGetPriorityInversionProtocol
RtfwGetPriorityInversionProtocol returns the priority inversion protocol logic in use by the Subsystem.
Syntax
bool RtfwGetPriorityInversionProtocol(
[out] RTFW_PRIORITY_INVERSION_PROTOCOL * pProtocol
);
Parameters
[out] pProtocol
A pointer to a value that is filled in with an RTFW_PRIORITY_INVERSION_PROTOCOL value that is set to an enumerator identifying which priority inversion protocol is configured
Return Value
If the function succeeds, it returns TRUE. If the function fails, it returns FALSE, sets the last error value, and leaves the value pointed to by pProtocol invalid. Call GetLastError to obtain an error code.
Remarks
If the Subsystem is running when the RtfwSetPriorityInversionProtocol API is called, the values returned by this function may differ from the values currently in use by the Subsystem.
If the Subsystem is running when the RtfwGetLocalMemoryConfiguration API is called, the values returned by this function may differ from the values currently in use by the Subsystem.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtfwApi.h |
RtfwApi.lib |
See Also: