PyITaskScheduler.NewWorkItem

PyITask = NewWorkItem(TaskName, rclsid , riid )

Creates a new task

Parameters

TaskName : unicode

Name of new task

rclsid=CLSID_CTask : PyIID

Class id of work item, currently only CLSID_CTask (defaults if not passed in)

riid=IID_ITask : PyIID

Interface IID to return, currently only IID_ITask (defaults if not passed in)