From 0bc7ff1e6b15859a02b57c48bd17698e727c1a8a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 16 Oct 2008 01:21:46 +0200 Subject: idl: fix svcctl_QueryServiceConfigW. Guenther --- librpc/idl/svcctl.idl | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'librpc') 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 ); /*****************/ -- cgit