From 9832a5e593691695d88bbb17bfe480f4ac3c35cc Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 8 Jan 2009 16:44:54 +0100 Subject: svcctl: add ENUM_SERVICE_STATUSW and ENUM_SERVICE_STATUSA. Guenther --- librpc/idl/svcctl.idl | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'librpc/idl/svcctl.idl') diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl index 5f04d91f17..ea7d10e5e6 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 -- cgit