RtfwGetProcessorConfiguration

RtfwGetProcessorConfiguration returns the processor configuration of the RTX64 Subsystem that will be used the next time the Subsystem starts.

Syntax

bool RtfwGetProcessorConfiguration(
    DWORD * pRequestedWindowsProcessorCount,
    DWORD * pRequestedRTSSProcessorCount
);

Parameters

pRequestedWindowsProcessorCount

A pointer to a value that is set to the number of Windows processors configured either by using the RTX64 Activation and Configuration utility or function RtfwSetProcessorConfiguration.

pRequestedRTSSProcessorCount

A pointer to a value that is set to the number of RTSS processors requested either by using the RTX64 Activation and Configuration utility or function RtfwSetProcessorConfiguration.

Return Value

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

Possible error codes:

Error Code Meaning
RT_ERROR_SUBSYSTEM_NOT_CONFIGURED Processors have not yet been configured.

Remarks

If the Subsystem is running when this API is called, the values returned by this function may differ from the values currently in use by the Subsystem.

Requirements

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

See Also:

RtfwSetProcessorConfiguration