Contents Index Topic Contents | ||
Previous Topic: IScheduledWorkItem::GetIdleWait Next Topic: IScheduledWorkItem::GetNextRunTime |
IScheduledWorkItem::GetMostRecentRunTime
HRESULT GetMostRecentRunTime( SYSTEMTIME * pstLastRun );Retrieves the most recent time the work item began running.
- Returns one of the following values:
S_OK The operation was successful. E_INVALIDARG The arguments are not valid. E_OUTOFMEMORY Not enough memory is available. SCHED_S_TASK_HAS_NOT_RUN The task has never run.
- pstLastRun
- Address of a SYSTEMTIME structure that contains the most recent time the current task ran.
See also IScheduledWorkItem::GetNextRunTime
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.