Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Interfaces, prefix the name with the module name and a period.
ITaskScheduler (Interfaces)
.
C# Definition:
[Guid("148BD527-A2AB-11CE-B11F-00AA00530503"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ITaskScheduler
{
int SetTargetComputer( [MarshalAs(UnmanagedType.LPWStr)] string computer);
int GetTargetComputer( [MarshalAs(UnmanagedType.LPWStr)] out string computer);
int Enum( [MarshalAs(UnmanagedType.IUnknown)] out object enumworkitems);
int Activate( [MarshalAs(UnmanagedType.LPWStr)] string name,
ref Guid riid,
[MarshalAs(UnmanagedType.IUnknown)] out object obj);
int Delete( [MarshalAs(UnmanagedType.LPWStr)] string name);
int NewWorkItem( [MarshalAs(UnmanagedType.LPWStr)] string name,
ref Guid rclsid,
ref Guid riid,
[MarshalAs(UnmanagedType.IUnknown)] out object obj);
int AddWorkItem( [MarshalAs(UnmanagedType.LPWStr)] string name,
[MarshalAs(UnmanagedType.IUnknown)] object obj);
int IsOfType( [MarshalAs(UnmanagedType.LPWStr)] string name,
ref Guid riid);
};
C# Helper Code
using System;
using System.Runtime.InteropServices;
static public Guid CLSID_TaskScheduler = new Guid("148BD52A-A2AB-11CE-B11F-00AA00530503");
static public Guid CLSID_ITaskScheduler = new Guid("148BD52A-A2AB-11CE-B11F-00AA00530503");
static public ITaskScheduler CreateTaskScheduler()
{
Type obj = Type.GetTypeFromCLSID(CLSID_TaskScheduler, true);
Type obj = Type.GetTypeFromCLSID(CLSID_ITaskScheduler, true);
return Activator.CreateInstance(obj) as ITaskScheduler;
}
VB Definition:
<ComImport> _
<Guid("TODO")> _
'TODO: Insert <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _ if this doesn't derive from IDispatch
Interface ITaskScheduler
TODO
End Interface
Part of the Task Scheduler 1.0 Interfaces, which consists of IEnumWorkItems, ITask, ITaskScheduler, ITaskTrigger and IScheduledWorkItem. There is some helper code below for actually using the iterator as the marshalling seemed impossible without resorting to the unmanaged helper functions in System.Runtime.InteropServices.Marshal. Not all methods have been tested, so be careful!
11/18/2010 12:43:14 PM - -203.167.226.133
Part of the Task Scheduler 1.0 Interfaces, which consists of IEnumWorkItems, ITask, ITaskScheduler, ITaskTrigger and IScheduledWorkItem. The C# definition contains some helper code. Not all methods have been tested, so be careful!
8/19/2008 5:14:58 PM - -203.167.226.133
Part of the Task Scheduler 1.0 Interfaces, which consists of IEnumWorkItems, ITask, ITaskScheduler, ITaskTrigger and IScheduledWorkItem. There is some helper code below. Not all methods have been tested, so be careful!
4/17/2012 2:17:08 PM - -81.149.190.75
Part of the Task Scheduler 1.0 Interfaces, which consists of IEnumWorkItems, ITask, ITaskScheduler, ITaskTrigger and IScheduledWorkItem. The C# definition contains some helper code. Not all methods have been tested, so be careful!
7/24/2008 4:03:27 PM - -203.167.226.133
Part of the Task Scheduler 1.0 Interfaces, which consists of IEnumWorkItems, ITask, ITaskScheduler, ITaskTrigger and IScheduledWorkItem. Generally this is useless - use ITask (which inherits from IScheduledWorkItem) instead. Not all methods have been tested, so be careful!