From: Günther Deschner Date: Thu, 8 Jan 2009 15:44:54 +0000 (+0100) Subject: svcctl: add ENUM_SERVICE_STATUSW and ENUM_SERVICE_STATUSA. X-Git-Tag: samba-4.0.0alpha6~203 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9832a5e593691695d88bbb17bfe480f4ac3c35cc;p=thirdparty%2Fsamba.git svcctl: add ENUM_SERVICE_STATUSW and ENUM_SERVICE_STATUSA. Guenther --- diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl index 5f04d91f171..ea7d10e5e60 100644 --- a/librpc/idl/svcctl.idl +++ b/librpc/idl/svcctl.idl @@ -56,11 +56,17 @@ import "misc.idl", "security.idl"; uint32 service_flags; } SERVICE_STATUS_PROCESS; - typedef struct { + typedef [public,gensize] struct { + [relative] nstring *service_name; + [relative] nstring *display_name; + SERVICE_STATUS status; + } ENUM_SERVICE_STATUSW; + + typedef [public,gensize] struct { [relative] astring *service_name; [relative] astring *display_name; SERVICE_STATUS status; - } ENUM_SERVICE_STATUS; + } ENUM_SERVICE_STATUSA; const int SERVICE_TYPE_KERNEL_DRIVER = 0x01; const int SERVICE_TYPE_FS_DRIVER = 0x02; @@ -467,7 +473,7 @@ import "misc.idl", "security.idl"; WERROR svcctl_EnumDependentServicesA( [in,ref] policy_handle *service, [in] uint32 state, - [out,unique] ENUM_SERVICE_STATUS *service_status, + [out,unique] ENUM_SERVICE_STATUSA *service_status, [in] uint32 buf_size, [out,ref] uint32 *bytes_needed, [out,ref] uint32 *services_returned