1 /* header auto-generated by pidl */
3 #include "librpc/ndr/libndr.h"
4 #include "librpc/gen_ndr/svcctl.h"
6 #ifndef _HEADER_NDR_svcctl
7 #define _HEADER_NDR_svcctl
9 #define NDR_SVCCTL_UUID "367abb81-9844-35f1-ad32-98f038001003"
10 #define NDR_SVCCTL_VERSION 2.0
11 #define NDR_SVCCTL_NAME "svcctl"
12 #define NDR_SVCCTL_HELPSTRING "Service Control"
13 extern const struct ndr_interface_table ndr_table_svcctl
;
14 #define NDR_SVCCTL_CLOSESERVICEHANDLE (0x00)
16 #define NDR_SVCCTL_CONTROLSERVICE (0x01)
18 #define NDR_SVCCTL_DELETESERVICE (0x02)
20 #define NDR_SVCCTL_LOCKSERVICEDATABASE (0x03)
22 #define NDR_SVCCTL_QUERYSERVICEOBJECTSECURITY (0x04)
24 #define NDR_SVCCTL_SETSERVICEOBJECTSECURITY (0x05)
26 #define NDR_SVCCTL_QUERYSERVICESTATUS (0x06)
28 #define NDR_SVCCTL_SETSERVICESTATUS (0x07)
30 #define NDR_SVCCTL_UNLOCKSERVICEDATABASE (0x08)
32 #define NDR_SVCCTL_NOTIFYBOOTCONFIGSTATUS (0x09)
34 #define NDR_SVCCTL_SCSETSERVICEBITSW (0x0a)
36 #define NDR_SVCCTL_CHANGESERVICECONFIGW (0x0b)
38 #define NDR_SVCCTL_CREATESERVICEW (0x0c)
40 #define NDR_SVCCTL_ENUMDEPENDENTSERVICESW (0x0d)
42 #define NDR_SVCCTL_ENUMSERVICESSTATUSW (0x0e)
44 #define NDR_SVCCTL_OPENSCMANAGERW (0x0f)
46 #define NDR_SVCCTL_OPENSERVICEW (0x10)
48 #define NDR_SVCCTL_QUERYSERVICECONFIGW (0x11)
50 #define NDR_SVCCTL_QUERYSERVICELOCKSTATUSW (0x12)
52 #define NDR_SVCCTL_STARTSERVICEW (0x13)
54 #define NDR_SVCCTL_GETSERVICEDISPLAYNAMEW (0x14)
56 #define NDR_SVCCTL_GETSERVICEKEYNAMEW (0x15)
58 #define NDR_SVCCTL_SCSETSERVICEBITSA (0x16)
60 #define NDR_SVCCTL_CHANGESERVICECONFIGA (0x17)
62 #define NDR_SVCCTL_CREATESERVICEA (0x18)
64 #define NDR_SVCCTL_ENUMDEPENDENTSERVICESA (0x19)
66 #define NDR_SVCCTL_ENUMSERVICESSTATUSA (0x1a)
68 #define NDR_SVCCTL_OPENSCMANAGERA (0x1b)
70 #define NDR_SVCCTL_OPENSERVICEA (0x1c)
72 #define NDR_SVCCTL_QUERYSERVICECONFIGA (0x1d)
74 #define NDR_SVCCTL_QUERYSERVICELOCKSTATUSA (0x1e)
76 #define NDR_SVCCTL_STARTSERVICEA (0x1f)
78 #define NDR_SVCCTL_GETSERVICEDISPLAYNAMEA (0x20)
80 #define NDR_SVCCTL_GETSERVICEKEYNAMEA (0x21)
82 #define NDR_SVCCTL_GETCURRENTGROUPESTATEW (0x22)
84 #define NDR_SVCCTL_ENUMSERVICEGROUPW (0x23)
86 #define NDR_SVCCTL_CHANGESERVICECONFIG2A (0x24)
88 #define NDR_SVCCTL_CHANGESERVICECONFIG2W (0x25)
90 #define NDR_SVCCTL_QUERYSERVICECONFIG2A (0x26)
92 #define NDR_SVCCTL_QUERYSERVICECONFIG2W (0x27)
94 #define NDR_SVCCTL_QUERYSERVICESTATUSEX (0x28)
96 #define NDR_ENUMSERVICESSTATUSEXA (0x29)
98 #define NDR_ENUMSERVICESSTATUSEXW (0x2a)
100 #define NDR_SVCCTL_SCSENDTSMESSAGE (0x2b)
102 #define NDR_SVCCTL_CALL_COUNT (44)
103 void ndr_print_SERVICE_LOCK_STATUS(struct ndr_print
*ndr
, const char *name
, const struct SERVICE_LOCK_STATUS
*r
);
104 void ndr_print_SERVICE_STATUS(struct ndr_print
*ndr
, const char *name
, const struct SERVICE_STATUS
*r
);
105 void ndr_print_ENUM_SERVICE_STATUS(struct ndr_print
*ndr
, const char *name
, const struct ENUM_SERVICE_STATUS
*r
);
106 enum ndr_err_code
ndr_push_svcctl_ServerType(struct ndr_push
*ndr
, int ndr_flags
, uint32_t r
);
107 enum ndr_err_code
ndr_pull_svcctl_ServerType(struct ndr_pull
*ndr
, int ndr_flags
, uint32_t *r
);
108 void ndr_print_svcctl_ServerType(struct ndr_print
*ndr
, const char *name
, uint32_t r
);
109 void ndr_print_svcctl_CloseServiceHandle(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_CloseServiceHandle
*r
);
110 void ndr_print_svcctl_ControlService(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_ControlService
*r
);
111 void ndr_print_svcctl_DeleteService(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_DeleteService
*r
);
112 void ndr_print_svcctl_LockServiceDatabase(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_LockServiceDatabase
*r
);
113 void ndr_print_svcctl_QueryServiceObjectSecurity(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceObjectSecurity
*r
);
114 void ndr_print_svcctl_SetServiceObjectSecurity(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_SetServiceObjectSecurity
*r
);
115 void ndr_print_svcctl_QueryServiceStatus(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceStatus
*r
);
116 void ndr_print_svcctl_SetServiceStatus(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_SetServiceStatus
*r
);
117 void ndr_print_svcctl_UnlockServiceDatabase(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_UnlockServiceDatabase
*r
);
118 void ndr_print_svcctl_NotifyBootConfigStatus(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_NotifyBootConfigStatus
*r
);
119 void ndr_print_svcctl_SCSetServiceBitsW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_SCSetServiceBitsW
*r
);
120 void ndr_print_svcctl_ChangeServiceConfigW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_ChangeServiceConfigW
*r
);
121 void ndr_print_svcctl_CreateServiceW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_CreateServiceW
*r
);
122 void ndr_print_svcctl_EnumDependentServicesW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_EnumDependentServicesW
*r
);
123 void ndr_print_svcctl_EnumServicesStatusW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_EnumServicesStatusW
*r
);
124 void ndr_print_svcctl_OpenSCManagerW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_OpenSCManagerW
*r
);
125 void ndr_print_svcctl_OpenServiceW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_OpenServiceW
*r
);
126 void ndr_print_svcctl_QueryServiceConfigW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceConfigW
*r
);
127 void ndr_print_svcctl_QueryServiceLockStatusW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceLockStatusW
*r
);
128 void ndr_print_svcctl_StartServiceW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_StartServiceW
*r
);
129 void ndr_print_svcctl_GetServiceDisplayNameW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_GetServiceDisplayNameW
*r
);
130 void ndr_print_svcctl_GetServiceKeyNameW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_GetServiceKeyNameW
*r
);
131 void ndr_print_svcctl_SCSetServiceBitsA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_SCSetServiceBitsA
*r
);
132 void ndr_print_svcctl_ChangeServiceConfigA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_ChangeServiceConfigA
*r
);
133 void ndr_print_svcctl_CreateServiceA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_CreateServiceA
*r
);
134 void ndr_print_svcctl_EnumDependentServicesA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_EnumDependentServicesA
*r
);
135 void ndr_print_svcctl_EnumServicesStatusA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_EnumServicesStatusA
*r
);
136 void ndr_print_svcctl_OpenSCManagerA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_OpenSCManagerA
*r
);
137 void ndr_print_svcctl_OpenServiceA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_OpenServiceA
*r
);
138 void ndr_print_svcctl_QueryServiceConfigA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceConfigA
*r
);
139 void ndr_print_svcctl_QueryServiceLockStatusA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceLockStatusA
*r
);
140 void ndr_print_svcctl_StartServiceA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_StartServiceA
*r
);
141 void ndr_print_svcctl_GetServiceDisplayNameA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_GetServiceDisplayNameA
*r
);
142 void ndr_print_svcctl_GetServiceKeyNameA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_GetServiceKeyNameA
*r
);
143 void ndr_print_svcctl_GetCurrentGroupeStateW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_GetCurrentGroupeStateW
*r
);
144 void ndr_print_svcctl_EnumServiceGroupW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_EnumServiceGroupW
*r
);
145 void ndr_print_svcctl_ChangeServiceConfig2A(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_ChangeServiceConfig2A
*r
);
146 void ndr_print_svcctl_ChangeServiceConfig2W(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_ChangeServiceConfig2W
*r
);
147 void ndr_print_svcctl_QueryServiceConfig2A(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceConfig2A
*r
);
148 void ndr_print_svcctl_QueryServiceConfig2W(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceConfig2W
*r
);
149 void ndr_print_svcctl_QueryServiceStatusEx(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_QueryServiceStatusEx
*r
);
150 void ndr_print_EnumServicesStatusExA(struct ndr_print
*ndr
, const char *name
, int flags
, const struct EnumServicesStatusExA
*r
);
151 void ndr_print_EnumServicesStatusExW(struct ndr_print
*ndr
, const char *name
, int flags
, const struct EnumServicesStatusExW
*r
);
152 void ndr_print_svcctl_SCSendTSMessage(struct ndr_print
*ndr
, const char *name
, int flags
, const struct svcctl_SCSendTSMessage
*r
);
153 #endif /* _HEADER_NDR_svcctl */