Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Defines the different states that a registered task can be in.
Syntax
typedef enum _TASK_STATE {
TASK_STATE_UNKNOWN = 0,
TASK_STATE_DISABLED = 1,
TASK_STATE_QUEUED = 2,
TASK_STATE_READY = 3,
TASK_STATE_RUNNING = 4
} TASK_STATE;
Constants
TASK_STATE_UNKNOWNValue: 0 The state of the task is unknown. |
TASK_STATE_DISABLEDValue: 1 The task is registered but is disabled and no instances of the task are queued or running. The task cannot be run until it is enabled. |
TASK_STATE_QUEUEDValue: 2 Instances of the task are queued. |
TASK_STATE_READYValue: 3 The task is ready to be executed, but no instances are queued or running. |
TASK_STATE_RUNNINGValue: 4 One or more instances of the task is running. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | taskschd.h |