]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
idl: fix svcctl_QueryServiceConfigW.
authorGünther Deschner <gd@samba.org>
Wed, 15 Oct 2008 23:21:46 +0000 (01:21 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 16 Oct 2008 07:54:49 +0000 (09:54 +0200)
Guenther

librpc/idl/svcctl.idl

index 04d8eedcb26043b8992484f6c0a41fc672f7c2d6..3eb686fe15bfd0fa9c968d9623f2d774dfa81e1c 100644 (file)
@@ -266,11 +266,24 @@ import "misc.idl";
 
        /*****************/
        /* Function 0x11 */
+
+       typedef [public,gensize] struct {
+               uint32 service_type;
+               uint32 start_type;
+               uint32 error_control;
+               [string,charset(UTF16)] [range(0,8192)] uint16 *executablepath;
+               [string,charset(UTF16)] [range(0,8192)] uint16 *loadordergroup;
+               uint32 tag_id;
+               [string,charset(UTF16)] [range(0,8192)] uint16 *dependencies;
+               [string,charset(UTF16)] [range(0,8192)] uint16 *startname;
+               [string,charset(UTF16)] [range(0,8192)] uint16 *displayname;
+       } QUERY_SERVICE_CONFIG;
+
        WERROR svcctl_QueryServiceConfigW(
                [in,ref] policy_handle *handle,
-               [out] uint8 query[buf_size], /*QUERY_SERVICE_CONFIG */
-               [in] uint32 buf_size,
-               [out,ref] uint32 *bytes_needed
+               [out] QUERY_SERVICE_CONFIG *query,
+               [in] [range(0,8192)] uint32 buf_size,
+               [out,ref] [range(0,8192)] uint32 *bytes_needed
        );
 
        /*****************/