diff options
author | Günther Deschner <gd@samba.org> | 2009-04-29 01:49:26 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-04-29 01:59:03 +0200 |
commit | a23fb4663df11b237e94683510d282c286bbeed6 (patch) | |
tree | 60d32fbb2f80bb7f39589f57b339cc001cc16bed /librpc/idl | |
parent | c732e9446f40e114db891da986ebc137f8adaf2c (diff) | |
download | samba-a23fb4663df11b237e94683510d282c286bbeed6.tar.gz samba-a23fb4663df11b237e94683510d282c286bbeed6.tar.bz2 samba-a23fb4663df11b237e94683510d282c286bbeed6.zip |
svcctl: Fix IDL for svcctl_StartServiceW().
Guenther
Diffstat (limited to 'librpc/idl')
-rw-r--r-- | librpc/idl/svcctl.idl | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl index a5685e8ae3..19866d273f 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 ); /*****************/ |