1 /* header auto-generated by pidl */
3 #include "librpc/gen_ndr/svcctl.h"
5 #ifndef _HEADER_NDR_svcctl
6 #define _HEADER_NDR_svcctl
8 #include "librpc/ndr/libndr.h"
9 #define DCERPC_SVCCTL_UUID "367abb81-9844-35f1-ad32-98f038001003"
10 #define DCERPC_SVCCTL_VERSION 2.0
11 #define DCERPC_SVCCTL_NAME "svcctl"
12 #define DCERPC_SVCCTL_HELPSTRING "Service Control"
13 extern const struct dcerpc_interface_table dcerpc_table_svcctl
;
14 NTSTATUS
dcerpc_server_svcctl_init(void);
15 #define DCERPC_SVCCTL_CLOSESERVICEHANDLE (0x00)
17 #define DCERPC_SVCCTL_CONTROLSERVICE (0x01)
19 #define DCERPC_SVCCTL_DELETESERVICE (0x02)
21 #define DCERPC_SVCCTL_LOCKSERVICEDATABASE (0x03)
23 #define DCERPC_SVCCTL_QUERYSERVICEOBJECTSECURITY (0x04)
25 #define DCERPC_SVCCTL_SETSERVICEOBJECTSECURITY (0x05)
27 #define DCERPC_SVCCTL_QUERYSERVICESTATUS (0x06)
29 #define DCERPC_SVCCTL_SETSERVICESTATUS (0x07)
31 #define DCERPC_SVCCTL_UNLOCKSERVICEDATABASE (0x08)
33 #define DCERPC_SVCCTL_NOTIFYBOOTCONFIGSTATUS (0x09)
35 #define DCERPC_SVCCTL_SCSETSERVICEBITSW (0x0a)
37 #define DCERPC_SVCCTL_CHANGESERVICECONFIGW (0x0b)
39 #define DCERPC_SVCCTL_CREATESERVICEW (0x0c)
41 #define DCERPC_SVCCTL_ENUMDEPENDENTSERVICESW (0x0d)
43 #define DCERPC_SVCCTL_ENUMSERVICESSTATUSW (0x0e)
45 #define DCERPC_SVCCTL_OPENSCMANAGERW (0x0f)
47 #define DCERPC_SVCCTL_OPENSERVICEW (0x10)
49 #define DCERPC_SVCCTL_QUERYSERVICECONFIGW (0x11)
51 #define DCERPC_SVCCTL_QUERYSERVICELOCKSTATUSW (0x12)
53 #define DCERPC_SVCCTL_STARTSERVICEW (0x13)
55 #define DCERPC_SVCCTL_GETSERVICEDISPLAYNAMEW (0x14)
57 #define DCERPC_SVCCTL_GETSERVICEKEYNAMEW (0x15)
59 #define DCERPC_SVCCTL_SCSETSERVICEBITSA (0x16)
61 #define DCERPC_SVCCTL_CHANGESERVICECONFIGA (0x17)
63 #define DCERPC_SVCCTL_CREATESERVICEA (0x18)
65 #define DCERPC_SVCCTL_ENUMDEPENDENTSERVICESA (0x19)
67 #define DCERPC_SVCCTL_ENUMSERVICESSTATUSA (0x1a)
69 #define DCERPC_SVCCTL_OPENSCMANAGERA (0x1b)
71 #define DCERPC_SVCCTL_OPENSERVICEA (0x1c)
73 #define DCERPC_SVCCTL_QUERYSERVICECONFIGA (0x1d)
75 #define DCERPC_SVCCTL_QUERYSERVICELOCKSTATUSA (0x1e)
77 #define DCERPC_SVCCTL_STARTSERVICEA (0x1f)
79 #define DCERPC_SVCCTL_GETSERVICEDISPLAYNAMEA (0x20)
81 #define DCERPC_SVCCTL_GETSERVICEKEYNAMEA (0x21)
83 #define DCERPC_SVCCTL_GETCURRENTGROUPESTATEW (0x22)
85 #define DCERPC_SVCCTL_ENUMSERVICEGROUPW (0x23)
87 #define DCERPC_SVCCTL_CHANGESERVICECONFIG2A (0x24)
89 #define DCERPC_SVCCTL_CHANGESERVICECONFIG2W (0x25)
91 #define DCERPC_SVCCTL_QUERYSERVICECONFIG2A (0x26)
93 #define DCERPC_SVCCTL_QUERYSERVICECONFIG2W (0x27)
95 #define DCERPC_SVCCTL_QUERYSERVICESTATUSEX (0x28)
97 #define DCERPC_ENUMSERVICESSTATUSEXA (0x29)
99 #define DCERPC_ENUMSERVICESSTATUSEXW (0x2a)
101 #define DCERPC_SVCCTL_SCSENDTSMESSAGE (0x2b)
103 #define DCERPC_SVCCTL_CALL_COUNT (44)
104 void ndr_print_SERVICE_LOCK_STATUS(struct ndr_print
*ndr
, const char *name
, const struct SERVICE_LOCK_STATUS
*r
);
105 void ndr_print_SERVICE_STATUS(struct ndr_print
*ndr
, const char *name
, const struct SERVICE_STATUS
*r
);
106 void ndr_print_ENUM_SERVICE_STATUS(struct ndr_print
*ndr
, const char *name
, const struct ENUM_SERVICE_STATUS
*r
);
107 NTSTATUS
ndr_push_svcctl_ServerType(struct ndr_push
*ndr
, int ndr_flags
, uint32_t r
);
108 NTSTATUS
ndr_pull_svcctl_ServerType(struct ndr_pull
*ndr
, int ndr_flags
, uint32_t *r
);
109 void ndr_print_svcctl_ServerType(struct ndr_print
*ndr
, const char *name
, uint32_t r
);
110 void ndr_print_svcctl_CloseServiceHandle(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_CloseServiceHandle
*r
);
111 void ndr_print_svcctl_ControlService(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_ControlService
*r
);
112 void ndr_print_svcctl_DeleteService(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_DeleteService
*r
);
113 void ndr_print_svcctl_LockServiceDatabase(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_LockServiceDatabase
*r
);
114 void ndr_print_svcctl_QueryServiceObjectSecurity(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceObjectSecurity
*r
);
115 void ndr_print_svcctl_SetServiceObjectSecurity(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_SetServiceObjectSecurity
*r
);
116 void ndr_print_svcctl_QueryServiceStatus(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceStatus
*r
);
117 void ndr_print_svcctl_SetServiceStatus(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_SetServiceStatus
*r
);
118 void ndr_print_svcctl_UnlockServiceDatabase(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_UnlockServiceDatabase
*r
);
119 void ndr_print_svcctl_NotifyBootConfigStatus(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_NotifyBootConfigStatus
*r
);
120 void ndr_print_svcctl_SCSetServiceBitsW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_SCSetServiceBitsW
*r
);
121 void ndr_print_svcctl_ChangeServiceConfigW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_ChangeServiceConfigW
*r
);
122 void ndr_print_svcctl_CreateServiceW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_CreateServiceW
*r
);
123 void ndr_print_svcctl_EnumDependentServicesW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_EnumDependentServicesW
*r
);
124 void ndr_print_svcctl_EnumServicesStatusW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_EnumServicesStatusW
*r
);
125 void ndr_print_svcctl_OpenSCManagerW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_OpenSCManagerW
*r
);
126 void ndr_print_svcctl_OpenServiceW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_OpenServiceW
*r
);
127 void ndr_print_svcctl_QueryServiceConfigW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceConfigW
*r
);
128 void ndr_print_svcctl_QueryServiceLockStatusW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceLockStatusW
*r
);
129 void ndr_print_svcctl_StartServiceW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_StartServiceW
*r
);
130 void ndr_print_svcctl_GetServiceDisplayNameW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_GetServiceDisplayNameW
*r
);
131 void ndr_print_svcctl_GetServiceKeyNameW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_GetServiceKeyNameW
*r
);
132 void ndr_print_svcctl_SCSetServiceBitsA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_SCSetServiceBitsA
*r
);
133 void ndr_print_svcctl_ChangeServiceConfigA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_ChangeServiceConfigA
*r
);
134 void ndr_print_svcctl_CreateServiceA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_CreateServiceA
*r
);
135 void ndr_print_svcctl_EnumDependentServicesA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_EnumDependentServicesA
*r
);
136 void ndr_print_svcctl_EnumServicesStatusA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_EnumServicesStatusA
*r
);
137 void ndr_print_svcctl_OpenSCManagerA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_OpenSCManagerA
*r
);
138 void ndr_print_svcctl_OpenServiceA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_OpenServiceA
*r
);
139 void ndr_print_svcctl_QueryServiceConfigA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceConfigA
*r
);
140 void ndr_print_svcctl_QueryServiceLockStatusA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceLockStatusA
*r
);
141 void ndr_print_svcctl_StartServiceA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_StartServiceA
*r
);
142 void ndr_print_svcctl_GetServiceDisplayNameA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_GetServiceDisplayNameA
*r
);
143 void ndr_print_svcctl_GetServiceKeyNameA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_GetServiceKeyNameA
*r
);
144 void ndr_print_svcctl_GetCurrentGroupeStateW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_GetCurrentGroupeStateW
*r
);
145 void ndr_print_svcctl_EnumServiceGroupW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_EnumServiceGroupW
*r
);
146 void ndr_print_svcctl_ChangeServiceConfig2A(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_ChangeServiceConfig2A
*r
);
147 void ndr_print_svcctl_ChangeServiceConfig2W(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_ChangeServiceConfig2W
*r
);
148 void ndr_print_svcctl_QueryServiceConfig2A(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceConfig2A
*r
);
149 void ndr_print_svcctl_QueryServiceConfig2W(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceConfig2W
*r
);
150 void ndr_print_svcctl_QueryServiceStatusEx(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceStatusEx
*r
);
151 void ndr_print_EnumServicesStatusExA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct EnumServicesStatusExA
*r
);
152 void ndr_print_EnumServicesStatusExW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct EnumServicesStatusExW
*r
);
153 void ndr_print_svcctl_SCSendTSMessage(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_SCSendTSMessage
*r
);
154 #endif /* _HEADER_NDR_svcctl */