summaryrefslogtreecommitdiffstats
path: root/librpc/idl/svcctl.idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-29 01:49:26 +0200
committerGünther Deschner <gd@samba.org>2009-04-29 01:59:03 +0200
commita23fb4663df11b237e94683510d282c286bbeed6 (patch)
tree60d32fbb2f80bb7f39589f57b339cc001cc16bed /librpc/idl/svcctl.idl
parentc732e9446f40e114db891da986ebc137f8adaf2c (diff)
downloadsamba-a23fb4663df11b237e94683510d282c286bbeed6.tar.gz
samba-a23fb4663df11b237e94683510d282c286bbeed6.tar.xz
samba-a23fb4663df11b237e94683510d282c286bbeed6.zip
svcctl: Fix IDL for svcctl_StartServiceW().
Guenther
Diffstat (limited to 'librpc/idl/svcctl.idl')
-rw-r--r--librpc/idl/svcctl.idl12
1 files changed, 10 insertions, 2 deletions
diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl
index a5685e8ae38..19866d273f4 100644
--- a/librpc/idl/svcctl.idl
+++ b/librpc/idl/svcctl.idl
@@ -404,10 +404,18 @@ import "misc.idl", "security.idl";
/*****************/
/* Function 0x13 */
+
+ const int SC_MAX_ARGUMENT_LENGTH = 1024;
+ const int SC_MAX_ARGUMENTS = 1024;
+
+ typedef struct {
+ [string,charset(UTF16),range(0,SC_MAX_ARGUMENT_LENGTH)] uint16 *string;
+ } svcctl_ArgumentString;
+
WERROR svcctl_StartServiceW(
[in,ref] policy_handle *handle,
- [in] uint32 NumArgs,
- [in,unique/*FIXME:,length_is(NumArgs)*/] [string,charset(UTF16)] uint16 *Arguments
+ [in,range(0,SC_MAX_ARGUMENTS)] uint32 NumArgs,
+ [in,unique,size_is(NumArgs)] svcctl_ArgumentString *Arguments
);
/*****************/