summaryrefslogtreecommitdiff
path: root/source3/librpc/idl/svcctl.idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-25 19:07:48 +0100
committerGünther Deschner <gd@samba.org>2008-03-26 12:17:16 +0100
commit975a7447f09db255fed4c604f878b132bad4930c (patch)
treeb41b10d0fe14387dbf13bdfad055f63ca42054af /source3/librpc/idl/svcctl.idl
parenta8d7febc7a04d63387667d76d683c5d6943197dd (diff)
downloadsamba-975a7447f09db255fed4c604f878b132bad4930c.tar.gz
samba-975a7447f09db255fed4c604f878b132bad4930c.tar.bz2
samba-975a7447f09db255fed4c604f878b132bad4930c.zip
Add svcctl_MgrAccessMask and svcctl_ServiceAccessMask.
Guenther (This used to be commit eeb7c7d9d0c9f7ac171641bc8cafe20db704fdc4)
Diffstat (limited to 'source3/librpc/idl/svcctl.idl')
-rw-r--r--source3/librpc/idl/svcctl.idl25
1 files changed, 23 insertions, 2 deletions
diff --git a/source3/librpc/idl/svcctl.idl b/source3/librpc/idl/svcctl.idl
index 00542bdb6d..5a843d04ef 100644
--- a/source3/librpc/idl/svcctl.idl
+++ b/source3/librpc/idl/svcctl.idl
@@ -226,19 +226,40 @@
/*****************/
/* Function 0x0f */
+ typedef [bitmap32bit] bitmap {
+ SC_RIGHT_MGR_CONNECT = 0x0001,
+ SC_RIGHT_MGR_CREATE_SERVICE = 0x0002,
+ SC_RIGHT_MGR_ENUMERATE_SERVICE = 0x0004,
+ SC_RIGHT_MGR_LOCK = 0x0008,
+ SC_RIGHT_MGR_QUERY_LOCK_STATUS = 0x0010,
+ SC_RIGHT_MGR_MODIFY_BOOT_CONFIG = 0x0020
+ } svcctl_MgrAccessMask;
+
WERROR svcctl_OpenSCManagerW(
[in,unique] [string,charset(UTF16)] uint16 *MachineName,
[in,unique] [string,charset(UTF16)] uint16 *DatabaseName,
- [in] uint32 access_mask,
+ [in] svcctl_MgrAccessMask access_mask,
[out,ref] policy_handle *handle
);
/*****************/
/* Function 0x10 */
+ typedef [bitmap32bit] bitmap {
+ SC_RIGHT_SVC_QUERY_CONFIG = 0x0001,
+ SC_RIGHT_SVC_CHANGE_CONFIG = 0x0002,
+ SC_RIGHT_SVC_QUERY_STATUS = 0x0004,
+ SC_RIGHT_SVC_ENUMERATE_DEPENDENTS = 0x0008,
+ SC_RIGHT_SVC_START = 0x0010,
+ SC_RIGHT_SVC_STOP = 0x0020,
+ SC_RIGHT_SVC_PAUSE_CONTINUE = 0x0040,
+ SC_RIGHT_SVC_INTERROGATE = 0x0080,
+ SC_RIGHT_SVC_USER_DEFINED_CONTROL = 0x0100
+ } svcctl_ServiceAccessMask;
+
WERROR svcctl_OpenServiceW(
[in,ref] policy_handle *scmanager_handle,
[in] [string,charset(UTF16)] uint16 ServiceName[],
- [in] uint32 access_mask,
+ [in] svcctl_ServiceAccessMask access_mask,
[out,ref] policy_handle *handle
);