ReactOS  0.4.12-dev-102-g4b7f1e0
TaskScheduler::IRegisteredTask Interface Reference

import"taskschd.idl";

Inheritance diagram for TaskScheduler::IRegisteredTask:
Collaboration diagram for TaskScheduler::IRegisteredTask:

Public Member Functions

HRESULT Run ([in] VARIANT params, [out, retval] IRunningTask **task)
 
HRESULT RunEx ([in] VARIANT params, [in] LONG flags, [in] LONG sessionID, [in] BSTR user, [out, retval] IRunningTask **task)
 
HRESULT GetInstances ([in] LONG flags, [out, retval] IRunningTaskCollection **tasks)
 
HRESULT GetSecurityDescriptor ([in] LONG info, [out, retval] BSTR *sddl)
 
HRESULT SetSecurityDescriptor ([in] BSTR sddl, [in] LONG flags)
 
HRESULT Stop ([in] LONG flags)
 
HRESULT GetRunTimes ([in] const LPSYSTEMTIME start, [in] const LPSYSTEMTIME end, [in, out] DWORD *count, [out] LPSYSTEMTIME *time)
 
- Public Member Functions inherited from IDispatch
HRESULT GetTypeInfoCount ([out] UINT *pctinfo)
 
HRESULT GetTypeInfo ([in] UINT iTInfo, [in] LCID lcid, [out] ITypeInfo **ppTInfo)
 
HRESULT GetIDsOfNames ([in] REFIID riid, [in, size_is(cNames)] LPOLESTR *rgszNames, [in] UINT cNames, [in] LCID lcid, [out, size_is(cNames)] DISPID *rgDispId)
 
HRESULT Invoke ([in] DISPID dispIdMember, [in] REFIID riid, [in] LCID lcid, [in] WORD wFlags, [in, out] DISPPARAMS *pDispParams, [out] VARIANT *pVarResult, [out] EXCEPINFO *pExcepInfo, [out] UINT *puArgErr)
 
HRESULT RemoteInvoke ([in] DISPID dispIdMember, [in] REFIID riid, [in] LCID lcid, [in] DWORD dwFlags, [in] DISPPARAMS *pDispParams, [out] VARIANT *pVarResult, [out] EXCEPINFO *pExcepInfo, [out] UINT *pArgErr, [in] UINT cVarRef, [in, size_is(cVarRef)] UINT *rgVarRefIdx, [in, out, size_is(cVarRef)] VARIANTARG *rgVarRef)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Properties

BSTR Name [get]
 
BSTR Path [get]
 
TASK_STATE State [get]
 
VARIANT_BOOL Enabled [get, set]
 
DATE LastRunTime [get]
 
LONG LastTaskResult [get]
 
LONG NumberOfMissedRuns [get]
 
DATE NextRunTime [get]
 
ITaskDefinition Definition [get]
 
BSTR Xml [get]
 

Additional Inherited Members

- Public Types inherited from IDispatch
typedef IDispatchLPDISPATCH
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 
- Public Attributes inherited from IDispatch
const DISPID DISPID_UNKNOWN = -1
 
const DISPID DISPID_VALUE = 0
 
const DISPID DISPID_PROPERTYPUT = -3
 
const DISPID DISPID_NEWENUM = -4
 
const DISPID DISPID_EVALUATE = -5
 
const DISPID DISPID_CONSTRUCTOR = -6
 
const DISPID DISPID_DESTRUCTOR = -7
 
const DISPID DISPID_COLLECT = -8
 

Detailed Description

Definition at line 157 of file taskschd.idl.

Member Function Documentation

◆ GetInstances()

HRESULT TaskScheduler::IRegisteredTask::GetInstances ( [in] LONG  flags,
[out, retval] IRunningTaskCollection **  tasks 
)

◆ GetRunTimes()

HRESULT TaskScheduler::IRegisteredTask::GetRunTimes ( [in] const LPSYSTEMTIME  start,
[in] const LPSYSTEMTIME  end,
[in, out] DWORD count,
[out] LPSYSTEMTIME time 
)

◆ GetSecurityDescriptor()

HRESULT TaskScheduler::IRegisteredTask::GetSecurityDescriptor ( [in] LONG  info,
[out, retval] BSTR sddl 
)

◆ Run()

HRESULT TaskScheduler::IRegisteredTask::Run ( [in] VARIANT  params,
[out, retval] IRunningTask **  task 
)

◆ RunEx()

HRESULT TaskScheduler::IRegisteredTask::RunEx ( [in] VARIANT  params,
[in] LONG  flags,
[in] LONG  sessionID,
[in] BSTR  user,
[out, retval] IRunningTask **  task 
)

◆ SetSecurityDescriptor()

HRESULT TaskScheduler::IRegisteredTask::SetSecurityDescriptor ( [in] BSTR  sddl,
[in] LONG  flags 
)

◆ Stop()

HRESULT TaskScheduler::IRegisteredTask::Stop ( [in] LONG  flags)

Property Documentation

◆ Definition

ITaskDefinition TaskScheduler::IRegisteredTask::Definition
get

◆ Enabled

VARIANT_BOOL TaskScheduler::IRegisteredTask::Enabled
getset

◆ LastRunTime

DATE TaskScheduler::IRegisteredTask::LastRunTime
get

◆ LastTaskResult

LONG TaskScheduler::IRegisteredTask::LastTaskResult
get

◆ Name

BSTR TaskScheduler::IRegisteredTask::Name
get

◆ NextRunTime

DATE TaskScheduler::IRegisteredTask::NextRunTime
get

◆ NumberOfMissedRuns

LONG TaskScheduler::IRegisteredTask::NumberOfMissedRuns
get

◆ Path

BSTR TaskScheduler::IRegisteredTask::Path
get

◆ State

TASK_STATE TaskScheduler::IRegisteredTask::State
get

◆ Xml

BSTR TaskScheduler::IRegisteredTask::Xml
get

The documentation for this interface was generated from the following file: