ReactOS 0.4.15-dev-7968-g24a56f8
atsvc.idl
Go to the documentation of this file.
1/*
2 * Scheduler Service interface definition
3 */
4
5#include <ms-dtyp.idl>
6
7typedef [handle] const wchar_t *ATSVC_HANDLE;
8
9typedef struct _AT_ENUM
10{
14 unsigned char DaysOfWeek;
15 unsigned char Flags;
16 [string] wchar_t *Command;
18
19typedef struct _AT_INFO
20{
23 unsigned char DaysOfWeek;
24 unsigned char Flags;
25 [string] wchar_t *Command;
27
28typedef struct _AT_ENUM_CONTAINER
29{
33
34cpp_quote("#define JOB_RUN_PERIODICALLY 1")
35cpp_quote("#define JOB_EXEC_ERROR 2")
36cpp_quote("#define JOB_RUNS_TODAY 4")
37cpp_quote("#define JOB_ADD_CURRENT_DATE 8")
38cpp_quote("#define JOB_NONINTERACTIVE 16")
39cpp_quote("#define JOB_INPUT_FLAGS (JOB_RUN_PERIODICALLY|JOB_ADD_CURRENT_DATE|JOB_NONINTERACTIVE)")
40cpp_quote("#define JOB_OUTPUT_FLAGS (JOB_RUN_PERIODICALLY|JOB_EXEC_ERROR|JOB_RUNS_TODAY|JOB_NONINTERACTIVE)")
41
42[
43 uuid(1FF70682-0A51-30E8-076D-740BE8CEE98B),
44 version(1.0),
45#ifdef __midl
46 ms_union,
47#endif
48 pointer_default(unique),
49 endpoint("ncacn_np:[\\pipe\\atsvc]")
50#ifndef __midl
51 ,explicit_handle
52#endif
53]
54interface atsvc
55{
56 /* Function 0 */
57 NET_API_STATUS
58 __stdcall
59 NetrJobAdd(
60 [in, string, unique] ATSVC_HANDLE ServerName,
61 [in] LPAT_INFO pAtInfo,
62 [out] LPDWORD pJobId);
63
64 /* Function 1 */
65 NET_API_STATUS
66 __stdcall
67 NetrJobDel(
68 [in, string, unique] ATSVC_HANDLE ServerName,
69 [in] DWORD MinJobId,
70 [in] DWORD MaxJobId);
71
72 /* Function 2 */
73 NET_API_STATUS
74 __stdcall
75 NetrJobEnum(
76 [in, string, unique] ATSVC_HANDLE ServerName,
77 [in,out] LPAT_ENUM_CONTAINER pEnumContainer,
78 [in] DWORD PreferedMaximumLength,
79 [out] LPDWORD pTotalEntries,
80 [in, out, unique] LPDWORD pResumeHandle);
81
82 /* Function 3 */
83 NET_API_STATUS
84 __stdcall
85 NetrJobGetInfo(
86 [in, string, unique] ATSVC_HANDLE ServerName,
87 [in] DWORD JobId,
88 [out] LPAT_INFO *ppAtInfo);
89}
struct _AT_INFO * PAT_INFO
const wchar_t * ATSVC_HANDLE
Definition: atsvc.idl:7
struct _AT_ENUM_CONTAINER * PAT_ENUM_CONTAINER
struct _AT_ENUM_CONTAINER * LPAT_ENUM_CONTAINER
struct _AT_INFO * LPAT_INFO
struct _AT_INFO AT_INFO
struct _AT_ENUM * PAT_ENUM
struct _AT_ENUM_CONTAINER AT_ENUM_CONTAINER
struct _AT_ENUM AT_ENUM
struct _AT_ENUM * LPAT_ENUM
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const
Definition: d3d10.idl:491
unsigned long DWORD
Definition: ntddk_ex.h:95
char string[160]
Definition: util.h:11
DWORD EntriesRead
Definition: atsvc.idl:30
LPAT_ENUM Buffer
Definition: atsvc.idl:31
Definition: lmat.h:14
wchar_t * Command
Definition: atsvc.idl:16
DWORD JobId
Definition: lmat.h:15
DWORD_PTR JobTime
Definition: atsvc.idl:12
unsigned char DaysOfWeek
Definition: atsvc.idl:14
DWORD DaysOfMonth
Definition: lmat.h:17
unsigned char Flags
Definition: atsvc.idl:15
Definition: lmat.h:22
wchar_t * Command
Definition: atsvc.idl:25
DWORD DaysOfMonth
Definition: lmat.h:24
unsigned char Flags
Definition: atsvc.idl:24
unsigned char DaysOfWeek
Definition: atsvc.idl:23
DWORD_PTR JobTime
Definition: atsvc.idl:21
uint32_t DWORD_PTR
Definition: typedefs.h:65