From cfedb32258bcc71248821b9af5ca18b363ebfb02 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Mon, 20 Apr 2020 18:51:37 +0200 Subject: [PATCH] librpc: use SERVICE_CONTROL enum in ControlService calls Guenther Signed-off-by: Guenther Deschner Reviewed-by: Andrew Bartlett --- librpc/idl/svcctl.idl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3