2 atsvc interface definition
7 [ uuid("1ff70682-0a51-30e8-076d-740be8cee98b"),
9 pointer_default(unique),
10 pointer_default_top(unique),
11 helpstring("Queue/List/Remove jobs for later execution"),
12 endpoint("ncacn_np:[\\pipe\\atsvc]", "ncalrpc:")
15 typedef [bitmap32bit] bitmap {
28 Thitteenth = 0x00001000,
29 Fourteenth = 0x00002000,
30 Fifteenth = 0x00004000,
31 Sixteenth = 0x00008000,
32 Seventeenth = 0x00010000,
33 Eighteenth = 0x00020000,
34 Ninteenth = 0x00040000,
35 Twentyth = 0x00080000,
36 Twentyfirst = 0x00100000,
37 Twentysecond = 0x00200000,
38 Twentythird = 0x00400000,
39 Twentyfourth = 0x00800000,
40 Twentyfifth = 0x01000000,
41 Twentysixth = 0x02000000,
42 Twentyseventh = 0x04000000,
43 Twentyeighth = 0x08000000,
44 Twentyninth = 0x10000000,
45 Thirtieth = 0x20000000,
46 Thirtyfirst = 0x40000000
49 typedef [bitmap8bit] bitmap {
50 JOB_RUN_PERIODICALLY = 0x01,
51 JOB_EXEC_ERROR = 0x02,
52 JOB_RUNS_TODAY = 0x04,
53 JOB_ADD_CURRENT_DATE = 0x08,
54 JOB_NONINTERACTIVE = 0x10
57 typedef [bitmap8bit] bitmap {
58 DAYSOFWEEK_MONDAY = 0x01,
59 DAYSOFWEEK_TUESDAY = 0x02,
60 DAYSOFWEEK_WEDNESDAY = 0x04,
61 DAYSOFWEEK_THURSDAY = 0x08,
62 DAYSOFWEEK_FRIDAY = 0x10,
63 DAYSOFWEEK_SATURDAY = 0x20,
64 DAYSOFWEEK_SUNDAY = 0x40
69 atsvc_DaysOfMonth days_of_month;
70 atsvc_DaysOfWeek days_of_week;
77 NTSTATUS atsvc_JobAdd(
78 [in] unistr *servername,
79 [in,ref] atsvc_JobInfo *job_info,
85 NTSTATUS atsvc_JobDel(
86 [in] unistr *servername,
87 [in] uint32 min_job_id,
88 [in] uint32 max_job_id
94 atsvc_DaysOfMonth days_of_month;
95 atsvc_DaysOfWeek days_of_week;
102 [size_is(entries_read)] atsvc_JobEnumInfo *first_entry;
107 NTSTATUS atsvc_JobEnum(
108 [in] unistr *servername,
109 [in,out,ref] atsvc_enum_ctr *ctr,
110 [in] uint32 preferred_max_len,
111 [out] uint32 total_entries,
112 [in,out] uint32 *resume_handle
117 [public] NTSTATUS atsvc_JobGetInfo(
118 [in] unistr *servername,
120 [out] atsvc_JobInfo *job_info