From: Günther Deschner Date: Mon, 20 Apr 2020 16:51:37 +0000 (+0200) Subject: librpc: use SERVICE_CONTROL enum in ControlService calls X-Git-Tag: talloc-2.4.2~806 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfedb32258bcc71248821b9af5ca18b363ebfb02;p=thirdparty%2Fsamba.git librpc: use SERVICE_CONTROL enum in ControlService calls Guenther Signed-off-by: Guenther Deschner Reviewed-by: Andrew Bartlett --- diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl index 51f9cd76ed2..e707a73d5eb 100644 --- a/librpc/idl/svcctl.idl +++ b/librpc/idl/svcctl.idl @@ -827,7 +827,7 @@ import "misc.idl", "security.idl"; WERROR svcctl_ControlServiceExA ( [in] SC_RPC_HANDLE hService, - [in] uint32 dwControl, + [in] SERVICE_CONTROL dwControl, [in] uint32 dwInfoLevel, [in, switch_is(dwInfoLevel)] SC_RPC_SERVICE_CONTROL_IN_PARAMSA *pControlInParams, [out, switch_is(dwInfoLevel)] SC_RPC_SERVICE_CONTROL_OUT_PARAMSA *pControlOutParams @@ -851,7 +851,7 @@ import "misc.idl", "security.idl"; WERROR svcctl_ControlServiceExW ( [in] SC_RPC_HANDLE hService, - [in] uint32 dwControl, + [in] SERVICE_CONTROL dwControl, [in] uint32 dwInfoLevel, [in, ref, switch_is(dwInfoLevel)] SC_RPC_SERVICE_CONTROL_IN_PARAMSW *pControlInParams, [out,ref, switch_is(dwInfoLevel)] SC_RPC_SERVICE_CONTROL_OUT_PARAMSW *pControlOutParams