mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
svcctl: add ENUM_SERVICE_STATUSW and ENUM_SERVICE_STATUSA.
Guenther
This commit is contained in:
parent
c9f6a58109
commit
9832a5e593
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user