From: Günther Deschner Date: Wed, 15 Oct 2008 23:21:46 +0000 (+0200) Subject: idl: fix svcctl_QueryServiceConfigW. X-Git-Tag: samba-4.0.0alpha6~769^2~65^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bc7ff1e6b15859a02b57c48bd17698e727c1a8a;p=thirdparty%2Fsamba.git idl: fix svcctl_QueryServiceConfigW. Guenther --- diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl index 04d8eedcb26..3eb686fe15b 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 ); /*****************/