1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

svcctl: add svcctl_ServiceState.

Guenther
This commit is contained in:
Günther Deschner 2009-01-07 17:50:09 +01:00
parent ea7fa77bb2
commit 979c82ab43

View File

@ -242,10 +242,17 @@ import "misc.idl", "security.idl";
/*****************/
/* Function 0x0e */
typedef [v1_enum] enum {
SVCCTL_STATE_ACTIVE = 0x00000001,
SVCCTL_STATE_INACTIVE = 0x00000002,
SVCCTL_STATE_ALL = ( SVCCTL_STATE_ACTIVE | SVCCTL_STATE_INACTIVE )
} svcctl_ServiceState;
WERROR svcctl_EnumServicesStatusW(
[in,ref] policy_handle *handle,
[in] uint32 type,
[in] uint32 state,
[in] svcctl_ServiceState state,
[out,ref,size_is(buf_size)] uint8 *service,
[in] [range(0,262144)] uint32 buf_size,
[out,ref] [range(0,262144)] uint32 *bytes_needed,