diff options
Diffstat (limited to 'librpc/idl/svcctl.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 ); /*****************/ |