RtfwGetCurrentScheduledProcessCount

RtfwGetCurrentScheduledProcessCount retrieves the total number of scheduled processes.

Syntax

bool RtfwGetCurrentScheduledProcessCount(
	size_t * count
);

Parameters

count

Returns the current number of scheduled processes.

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 One of the parameters of this function is NULL, or a field within the structure is invalid.

Remarks

This function has locking to allow for thread safety. It shares a lock with all other scheduled process functions.

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 Required Version RTX64 3.5
Header RtfwAPI.h
Library RtfwAPI.lib

See Also:

RtfwCreateScheduledProcess

RtfwDeleteAllScheduledProcesses

RtfwDeleteScheduledProcessByID

RtfwGetPIDByScheduledID

RtfwGetScheduledProcess

RtfwModifyScheduledProcess

PRTFW_SCHEDULED_PROCESS