ReactOS 0.4.16-dev-125-g798ea90
TaskScheduler Module Reference

Classes

interface  IAction
 
interface  IActionCollection
 
interface  IDailyTrigger
 
interface  IExecAction
 
interface  IIdleSettings
 
interface  INetworkSettings
 
interface  IPrincipal
 
interface  IRegisteredTask
 
interface  IRegisteredTaskCollection
 
interface  IRegistrationInfo
 
interface  IRepetitionPattern
 
interface  IRunningTask
 
interface  IRunningTaskCollection
 
interface  ITaskDefinition
 
interface  ITaskFolder
 
interface  ITaskFolderCollection
 
interface  ITaskService
 
interface  ITaskSettings
 
interface  ITimeTrigger
 
interface  ITrigger
 
interface  ITriggerCollection
 
class  TaskScheduler
 

Typedefs

typedef enum TaskScheduler::_TASK_STATE TASK_STATE
 
typedef enum TaskScheduler::_TASK_ENUM_FLAGS TASK_ENUM_FLAGS
 
typedef enum TaskScheduler::_TASK_LOGON_TYPE TASK_LOGON_TYPE
 
typedef enum TaskScheduler::_TASK_RUNLEVEL TASK_RUNLEVEL_TYPE
 
typedef enum TaskScheduler::_TASK_TRIGGER_TYPE2 TASK_TRIGGER_TYPE2
 
typedef enum TaskScheduler::_TASK_ACTION_TYPE TASK_ACTION_TYPE
 
typedef enum TaskScheduler::_TASK_INSTANCES_POLICY TASK_INSTANCES_POLICY
 
typedef enum TaskScheduler::_TASK_COMPATIBILITY TASK_COMPATIBILITY
 
typedef enum TaskScheduler::_TASK_CREATION TASK_CREATION
 

Enumerations

enum  _TASK_STATE {
  TASK_STATE_UNKNOWN , TASK_STATE_DISABLED , TASK_STATE_QUEUED , TASK_STATE_READY ,
  TASK_STATE_RUNNING
}
 
enum  _TASK_ENUM_FLAGS { TASK_ENUM_HIDDEN = 0x0001 }
 
enum  _TASK_LOGON_TYPE {
  TASK_LOGON_NONE , TASK_LOGON_PASSWORD , TASK_LOGON_S4U , TASK_LOGON_INTERACTIVE_TOKEN ,
  TASK_LOGON_GROUP , TASK_LOGON_SERVICE_ACCOUNT , TASK_LOGON_INTERACTIVE_TOKEN_OR_PASSWORD
}
 
enum  _TASK_RUNLEVEL { TASK_RUNLEVEL_LUA , TASK_RUNLEVEL_HIGHEST }
 
enum  _TASK_TRIGGER_TYPE2 {
  TASK_TRIGGER_EVENT , TASK_TRIGGER_TIME , TASK_TRIGGER_DAILY , TASK_TRIGGER_WEEKLY ,
  TASK_TRIGGER_MONTHLY , TASK_TRIGGER_MONTHLYDOW , TASK_TRIGGER_IDLE , TASK_TRIGGER_REGISTRATION ,
  TASK_TRIGGER_BOOT , TASK_TRIGGER_LOGON , TASK_TRIGGER_SESSION_STATE_CHANGE = 11
}
 
enum  _TASK_ACTION_TYPE { TASK_ACTION_EXEC = 0 , TASK_ACTION_COM_HANDLER = 5 , TASK_ACTION_SEND_EMAIL = 6 , TASK_ACTION_SHOW_MESSAGE = 7 }
 
enum  _TASK_INSTANCES_POLICY { TASK_INSTANCES_PARALLEL , TASK_INSTANCES_QUEUE , TASK_INSTANCES_IGNORE_NEW , TASK_INSTANCES_STOP_EXISTING }
 
enum  _TASK_COMPATIBILITY { TASK_COMPATIBILITY_AT , TASK_COMPATIBILITY_V1 , TASK_COMPATIBILITY_V2 , TASK_COMPATIBILITY_V2_1 }
 
enum  _TASK_CREATION {
  TASK_VALIDATE_ONLY = 1 , TASK_CREATE = 2 , TASK_UPDATE = 4 , TASK_CREATE_OR_UPDATE = 6 ,
  TASK_DISABLE = 8 , TASK_DONT_ADD_PRINCIPAL_ACE = 16 , TASK_IGNORE_REGISTRATION_TRIGGERS = 32
}
 

Functions

 importlib ("stdole2.tlb")
 

Typedef Documentation

◆ TASK_ACTION_TYPE

◆ TASK_COMPATIBILITY

◆ TASK_CREATION

◆ TASK_ENUM_FLAGS

◆ TASK_INSTANCES_POLICY

◆ TASK_LOGON_TYPE

◆ TASK_RUNLEVEL_TYPE

◆ TASK_STATE

◆ TASK_TRIGGER_TYPE2

Enumeration Type Documentation

◆ _TASK_ACTION_TYPE

Enumerator
TASK_ACTION_EXEC 
TASK_ACTION_COM_HANDLER 
TASK_ACTION_SEND_EMAIL 
TASK_ACTION_SHOW_MESSAGE 

Definition at line 78 of file taskschd.idl.

79{
84} TASK_ACTION_TYPE;
@ TASK_ACTION_COM_HANDLER
Definition: taskschd.idl:81
@ TASK_ACTION_SHOW_MESSAGE
Definition: taskschd.idl:83
@ TASK_ACTION_SEND_EMAIL
Definition: taskschd.idl:82

◆ _TASK_COMPATIBILITY

Enumerator
TASK_COMPATIBILITY_AT 
TASK_COMPATIBILITY_V1 
TASK_COMPATIBILITY_V2 
TASK_COMPATIBILITY_V2_1 

Definition at line 94 of file taskschd.idl.

95{
100} TASK_COMPATIBILITY;
@ TASK_COMPATIBILITY_AT
Definition: taskschd.idl:96
@ TASK_COMPATIBILITY_V2_1
Definition: taskschd.idl:99
@ TASK_COMPATIBILITY_V1
Definition: taskschd.idl:97
@ TASK_COMPATIBILITY_V2
Definition: taskschd.idl:98

◆ _TASK_CREATION

Enumerator
TASK_VALIDATE_ONLY 
TASK_CREATE 
TASK_UPDATE 
TASK_CREATE_OR_UPDATE 
TASK_DISABLE 
TASK_DONT_ADD_PRINCIPAL_ACE 
TASK_IGNORE_REGISTRATION_TRIGGERS 

Definition at line 102 of file taskschd.idl.

103{
105 TASK_CREATE = 2,
106 TASK_UPDATE = 4,
108 TASK_DISABLE = 8,
111} TASK_CREATION;
@ TASK_DONT_ADD_PRINCIPAL_ACE
Definition: taskschd.idl:109
@ TASK_CREATE_OR_UPDATE
Definition: taskschd.idl:107
@ TASK_IGNORE_REGISTRATION_TRIGGERS
Definition: taskschd.idl:110

◆ _TASK_ENUM_FLAGS

Enumerator
TASK_ENUM_HIDDEN 

Definition at line 41 of file taskschd.idl.

42{
43 TASK_ENUM_HIDDEN = 0x0001
44} TASK_ENUM_FLAGS;

◆ _TASK_INSTANCES_POLICY

Enumerator
TASK_INSTANCES_PARALLEL 
TASK_INSTANCES_QUEUE 
TASK_INSTANCES_IGNORE_NEW 
TASK_INSTANCES_STOP_EXISTING 

Definition at line 86 of file taskschd.idl.

◆ _TASK_LOGON_TYPE

Enumerator
TASK_LOGON_NONE 
TASK_LOGON_PASSWORD 
TASK_LOGON_S4U 
TASK_LOGON_INTERACTIVE_TOKEN 
TASK_LOGON_GROUP 
TASK_LOGON_SERVICE_ACCOUNT 
TASK_LOGON_INTERACTIVE_TOKEN_OR_PASSWORD 

Definition at line 46 of file taskschd.idl.

◆ _TASK_RUNLEVEL

Enumerator
TASK_RUNLEVEL_LUA 
TASK_RUNLEVEL_HIGHEST 

Definition at line 57 of file taskschd.idl.

58{
61} TASK_RUNLEVEL_TYPE;
@ TASK_RUNLEVEL_HIGHEST
Definition: taskschd.idl:60

◆ _TASK_STATE

Enumerator
TASK_STATE_UNKNOWN 
TASK_STATE_DISABLED 
TASK_STATE_QUEUED 
TASK_STATE_READY 
TASK_STATE_RUNNING 

Definition at line 32 of file taskschd.idl.

◆ _TASK_TRIGGER_TYPE2

Enumerator
TASK_TRIGGER_EVENT 
TASK_TRIGGER_TIME 
TASK_TRIGGER_DAILY 
TASK_TRIGGER_WEEKLY 
TASK_TRIGGER_MONTHLY 
TASK_TRIGGER_MONTHLYDOW 
TASK_TRIGGER_IDLE 
TASK_TRIGGER_REGISTRATION 
TASK_TRIGGER_BOOT 
TASK_TRIGGER_LOGON 
TASK_TRIGGER_SESSION_STATE_CHANGE 

Definition at line 63 of file taskschd.idl.

Function Documentation

◆ importlib()

TaskScheduler::importlib ( "stdole2.tlb"  )