RtfwSetPriorityInversionProtocol

RtfwSetPriorityInversionProtocol configures the RTX64 Subsystem priority inversion protocol.

Syntax

bool RtfwSetPriorityInversionProtocol(
    RTFW_PRIORITY_INVERSION_PROTOCOL protocol
);

Parameters

protocol

Specifies the priority inversion protocol to be used by the Subsystem. See enumeration RTFW_PRIORITY_INVERSION_PROTOCOL.

Return Value

The function returns true if it succeeds. Otherwise, it returns false. Call GetLastError for additional error information.

Possible error codes:

Error Code Meaning
ERROR_INVALID_PARAMETER Parameter protocol is not a valid enumerator value.
RT_ERROR_RESTART_SUBSYSTEM

The Subsystem was running when this function succeeded. RtfwRestartRequired will report that the RTX64 Subsystem must be restarted.

NOTE: The RTX64 Subsystem must be restarted for the changes to take effect.

Requirements

Minimum Required Version RTX64 3.4
Header RtfwAPI.h
Library RtfwAPI.lib

See Also:

RTFW_PRIORITY_INVERSION_PROTOCOL

RtfwGetPriorityInversionProtocol