summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-01-07 17:50:09 +0100
committerGünther Deschner <gd@samba.org>2009-01-08 11:19:13 +0100
commit979c82ab43c9c09fd4835361217fdea043d3fddf (patch)
treee5ba82010eb726f3fc538c6319097b720d5dcb67 /librpc
parentea7fa77bb2f2f17c3df2ed0069ab1d4746029df5 (diff)
downloadsamba-979c82ab43c9c09fd4835361217fdea043d3fddf.tar.gz
samba-979c82ab43c9c09fd4835361217fdea043d3fddf.tar.bz2
samba-979c82ab43c9c09fd4835361217fdea043d3fddf.zip
svcctl: add svcctl_ServiceState.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/svcctl.idl9
1 files changed, 8 insertions, 1 deletions
diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl
index 70310967d5..c70858fbd9 100644
--- a/librpc/idl/svcctl.idl
+++ b/librpc/idl/svcctl.idl
@@ -242,10 +242,17 @@ import "misc.idl", "security.idl";
/*****************/
/* Function 0x0e */
+
+ typedef [v1_enum] enum {
+ SVCCTL_STATE_ACTIVE = 0x00000001,
+ SVCCTL_STATE_INACTIVE = 0x00000002,
+ SVCCTL_STATE_ALL = ( SVCCTL_STATE_ACTIVE | SVCCTL_STATE_INACTIVE )
+ } svcctl_ServiceState;
+
WERROR svcctl_EnumServicesStatusW(
[in,ref] policy_handle *handle,
[in] uint32 type,
- [in] uint32 state,
+ [in] svcctl_ServiceState state,
[out,ref,size_is(buf_size)] uint8 *service,
[in] [range(0,262144)] uint32 buf_size,
[out,ref] [range(0,262144)] uint32 *bytes_needed,