2 atsvc interface definition
5 [ uuid("1ff70682-0a51-30e8-076d-740be8cee98b"),
7 pointer_default(unique),
8 helpstring("Microsoft AT-Scheduler Service"),
9 endpoint("ncacn_np:[\\pipe\\atsvc]", "ncalrpc:")
12 typedef [bitmap32bit] bitmap {
23 Eleventh = 0x00000400,
25 Thitteenth = 0x00001000,
26 Fourteenth = 0x00002000,
27 Fifteenth = 0x00004000,
28 Sixteenth = 0x00008000,
29 Seventeenth = 0x00010000,
30 Eighteenth = 0x00020000,
31 Ninteenth = 0x00040000,
32 Twentyth = 0x00080000,
33 Twentyfirst = 0x00100000,
34 Twentysecond = 0x00200000,
35 Twentythird = 0x00400000,
36 Twentyfourth = 0x00800000,
37 Twentyfifth = 0x01000000,
38 Twentysixth = 0x02000000,
39 Twentyseventh = 0x04000000,
40 Twentyeighth = 0x08000000,
41 Twentyninth = 0x10000000,
42 Thirtieth = 0x20000000,
43 Thirtyfirst = 0x40000000
46 typedef [bitmap8bit] bitmap {
47 JOB_RUN_PERIODICALLY = 0x01,
48 JOB_EXEC_ERROR = 0x02,
49 JOB_RUNS_TODAY = 0x04,
50 JOB_ADD_CURRENT_DATE = 0x08,
51 JOB_NONINTERACTIVE = 0x10
54 typedef [bitmap8bit] bitmap {
55 DAYSOFWEEK_MONDAY = 0x01,
56 DAYSOFWEEK_TUESDAY = 0x02,
57 DAYSOFWEEK_WEDNESDAY = 0x04,
58 DAYSOFWEEK_THURSDAY = 0x08,
59 DAYSOFWEEK_FRIDAY = 0x10,
60 DAYSOFWEEK_SATURDAY = 0x20,
61 DAYSOFWEEK_SUNDAY = 0x40
66 atsvc_DaysOfMonth days_of_month;
67 atsvc_DaysOfWeek days_of_week;
69 [string,charset(UTF16)] uint16 *command;
74 [public] NTSTATUS atsvc_JobAdd(
75 [in,unique,string,charset(UTF16)] uint16 *servername,
76 [in] atsvc_JobInfo *job_info,
77 [out,ref] uint32 *job_id
82 [public] NTSTATUS atsvc_JobDel(
83 [in,unique,string,charset(UTF16)] uint16 *servername,
84 [in] uint32 min_job_id,
85 [in] uint32 max_job_id
91 atsvc_DaysOfMonth days_of_month;
92 atsvc_DaysOfWeek days_of_week;
94 [string,charset(UTF16)] uint16 *command;
99 [size_is(entries_read)] atsvc_JobEnumInfo *first_entry;
104 [public] NTSTATUS atsvc_JobEnum(
105 [in,unique,string,charset(UTF16)] uint16 *servername,
106 [in,out] atsvc_enum_ctr *ctr,
107 [in] uint32 preferred_max_len,
108 [out,ref] uint32 *total_entries,
109 [in,out,unique] uint32 *resume_handle
114 [public] NTSTATUS atsvc_JobGetInfo(
115 [in,unique,string,charset(UTF16)] uint16 *servername,
117 [out] atsvc_JobInfo **job_info