summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-16 01:21:46 +0200
committerGünther Deschner <gd@samba.org>2008-10-16 09:54:49 +0200
commit0bc7ff1e6b15859a02b57c48bd17698e727c1a8a (patch)
treea99bc414ebbb2ee144cef092fc2a4dd7dec749a9
parent969a2fc4dd5296dbe5a92742e984e1ce4c5d50c0 (diff)
downloadsamba-0bc7ff1e6b15859a02b57c48bd17698e727c1a8a.tar.gz
samba-0bc7ff1e6b15859a02b57c48bd17698e727c1a8a.tar.bz2
samba-0bc7ff1e6b15859a02b57c48bd17698e727c1a8a.zip
idl: fix svcctl_QueryServiceConfigW.
Guenther
-rw-r--r--librpc/idl/svcctl.idl19
1 files changed, 16 insertions, 3 deletions
diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl
index 04d8eedcb2..3eb686fe15 100644
--- a/librpc/idl/svcctl.idl
+++ b/librpc/idl/svcctl.idl
@@ -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
);
/*****************/