RtfwGetWindowsIdleDetection

RtfwGetWindowsIdleDetection returns whether or not the RTX64 Subsystem disables Windows idle detection power optimization while the RTX64 Subsystem is running. When Windows idle detection is disabled, power state transitions are prevented on Windows processors, because they can cause loss of determinism on real-time processors.

Syntax

bool RtfwGetWindowsIdleDetection(
    bool * pDisableIdleDetection
);

Parameters

pDisableIdleDetection

A pointer to a value that is set to true if idle detection is disabled, false if it is not disabled.

Return Value

The function returns true if it succeeds. Otherwise, it returns false, sets the last error value, and leaves the value pointed to by pDisableIdleDetection invalid. Call GetLastError for additional error information.

Requirements

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

See Also:

RtfwSetWindowsIdleDetection