IScheduledWorkItem::GetStatusIScheduledWorkItem::GetStatus*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IScheduledWorkItem::GetRunTimes
*Next Topic: IScheduledWorkItem::GetTrigger

IScheduledWorkItem::GetStatus

HRESULT GetStatus(
    HRESULT * phrStatus
);

Retrieves the status of the work item.

phrStatus
Address of a value that contains the status of the current work item. phrStatus can be set to one of the following values:
SCHED_S_TASK_READY Task is ready to run at its next scheduled time.
SCHED_S_TASK_RUNNING Task is currently running.
SCHED_S_TASK_NOT_SCHEDULED One or more of the properties that are needed to run this task on a schedule have not been set.

Back to top


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.