IScheduledWorkItem::CreateTriggerIScheduledWorkItem::CreateTrigger*
*Contents  *Index  *Topic Contents
*Previous Topic: IScheduledWorkItem
*Next Topic: IScheduledWorkItem::DeleteTrigger

IScheduledWorkItem::CreateTrigger

HRESULT CreateTrigger(
    WORD * piNewTrigger,
    ITaskTrigger ** ppTrigger
);

Creates a task trigger.

piNewTrigger
Address of a value that specifies the new trigger. piNewTrigger receives the new trigger index value. DeleteTrigger would take this value to delete the trigger.
ppTrigger
Address of a pointer to an ITaskTrigger interface.

See also IScheduledWorkItem::DeleteTrigger

Back to top


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