Contents Index Topic Contents | ||
Previous Topic: IScheduledWorkItem::GetStatus Next Topic: IScheduledWorkItem::GetTriggerCount |
IScheduledWorkItem::GetTrigger
HRESULT GetTrigger( WORD iTrigger, ITaskTrigger ** ppTrigger );Retrieves a task trigger.
- 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.
- iTrigger
- Value that specifies which trigger to retrieve.
- ppTrigger
- Address of a pointer to an ITaskTrigger interface. This interface contains the retrieved trigger.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.