4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
26 #ifndef _MLSVC_SVCCTL_NDL_
27 #define _MLSVC_SVCCTL_NDL_
28
29 /*
30 * NT Service Control Services (SVCCTL) RPC interface definition.
31 * This interface provides remote access to add, remove, start and
32 * stop services.
33 */
34
35 #include "ndrtypes.ndl"
36
37 /* Windows NT */
38 #define SVCCTL_OPNUM_Close 0x00
39 #define SVCCTL_OPNUM_ControlService 0x01
40 #define SVCCTL_OPNUM_DeleteService 0x02
41 #define SVCCTL_OPNUM_LockServiceDatabase 0x03
42 #define SVCCTL_OPNUM_QueryServiceSecurity 0x04
43 #define SVCCTL_OPNUM_SetServiceSecurity 0x05
44 #define SVCCTL_OPNUM_QueryServiceStatus 0x06
45 #define SVCCTL_OPNUM_SetServiceStatus 0x07
46 #define SVCCTL_OPNUM_UnlockServiceDatabase 0x08
47 #define SVCCTL_OPNUM_NotifyBootConfigStatus 0x09
48 #define SVCCTL_OPNUM_SetServiceBits 0x0a
49 #define SVCCTL_OPNUM_ChangeServiceConfig 0x0b
50 #define SVCCTL_OPNUM_CreateService 0x0c
51 #define SVCCTL_OPNUM_EnumDependentServices 0x0d
52 #define SVCCTL_OPNUM_EnumServicesStatus 0x0E
53 #define SVCCTL_OPNUM_OpenManager 0x0F
54 #define SVCCTL_OPNUM_OpenService 0x10
55 #define SVCCTL_OPNUM_QueryServiceConfig 0x11
|
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 *
25 * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
26 */
27
28 #ifndef _MLSVC_SVCCTL_NDL_
29 #define _MLSVC_SVCCTL_NDL_
30
31 /*
32 * NT Service Control Services (SVCCTL) RPC interface definition.
33 * This interface provides remote access to add, remove, start and
34 * stop services.
35 */
36
37 #include <libmlrpc/ndrtypes.ndl>
38
39 /* Windows NT */
40 #define SVCCTL_OPNUM_Close 0x00
41 #define SVCCTL_OPNUM_ControlService 0x01
42 #define SVCCTL_OPNUM_DeleteService 0x02
43 #define SVCCTL_OPNUM_LockServiceDatabase 0x03
44 #define SVCCTL_OPNUM_QueryServiceSecurity 0x04
45 #define SVCCTL_OPNUM_SetServiceSecurity 0x05
46 #define SVCCTL_OPNUM_QueryServiceStatus 0x06
47 #define SVCCTL_OPNUM_SetServiceStatus 0x07
48 #define SVCCTL_OPNUM_UnlockServiceDatabase 0x08
49 #define SVCCTL_OPNUM_NotifyBootConfigStatus 0x09
50 #define SVCCTL_OPNUM_SetServiceBits 0x0a
51 #define SVCCTL_OPNUM_ChangeServiceConfig 0x0b
52 #define SVCCTL_OPNUM_CreateService 0x0c
53 #define SVCCTL_OPNUM_EnumDependentServices 0x0d
54 #define SVCCTL_OPNUM_EnumServicesStatus 0x0E
55 #define SVCCTL_OPNUM_OpenManager 0x0F
56 #define SVCCTL_OPNUM_OpenService 0x10
57 #define SVCCTL_OPNUM_QueryServiceConfig 0x11
|