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. |
RT_ERROR_SCHEDULED_PROCESS_LOCK_FAILURE | Failed to obtain the lock to serialize starting/stopping the RTX64 Subsystem. |
Remarks
This function has locking to allow for thread safety. It shares a lock with all other scheduled process functions.
Requirements
Minimum Required Version | RTX64 3.5 |
Header | RtfwAPI.h |
Library | RtfwAPI.lib |
See Also: