From 557f38326badcd8e1d2338f76c5717e16ae7a7d3 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 7 Apr 2009 01:11:44 +0200 Subject: svcctl: Fix svcctl_ControlsAccepted bitmask. Never ever have 0 value in a bitmask... pidl should generate at least a warning about those things. Guenther --- librpc/idl/svcctl.idl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'librpc/idl/svcctl.idl') diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl index 3f990298ad8..4b66d9cc5dc 100644 --- a/librpc/idl/svcctl.idl +++ b/librpc/idl/svcctl.idl @@ -30,8 +30,9 @@ import "misc.idl", "security.idl"; SVCCTL_PAUSED = 0x00000007 } svcctl_ServiceStatus; + const int SVCCTL_ACCEPT_NONE = 0x00000000; + typedef [bitmap32bit] bitmap { - SVCCTL_ACCEPT_NONE = 0x00000000, SVCCTL_ACCEPT_STOP = 0x00000001, SVCCTL_ACCEPT_PAUSE_CONTINUE = 0x00000002, SVCCTL_ACCEPT_SHUTDOWN = 0x00000004, -- cgit