summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-03-25 00:38:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:19 -0500
commit66e8ed2632f8efb4e749a79609eb34dc488aacdc (patch)
treeed1d45471c64fbfbd4f23a75b668288d2eea8a7f /source3/include
parentfcfa75b2fc19be9abe9580efa314d4c981f80098 (diff)
downloadsamba-66e8ed2632f8efb4e749a79609eb34dc488aacdc.tar.gz
samba-66e8ed2632f8efb4e749a79609eb34dc488aacdc.tar.bz2
samba-66e8ed2632f8efb4e749a79609eb34dc488aacdc.zip
r6051: finish off
net rpc service stop net rpc service start net rpc service pause net rpc service resume (This used to be commit a7fb2c50b07a7d9965675272a71f42beba92acfe)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/doserr.h1
-rw-r--r--source3/include/rpc_svcctl.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/doserr.h b/source3/include/doserr.h
index 259eafc45f..60a3c335ec 100644
--- a/source3/include/doserr.h
+++ b/source3/include/doserr.h
@@ -186,6 +186,7 @@
#define WERR_IO_PENDING W_ERROR(997)
#define WERR_CAN_NOT_COMPLETE W_ERROR(1003)
#define WERR_NO_SUCH_SERVICE W_ERROR(1060)
+#define WERR_INVALID_SERVICE_CONTROL W_ERROR(1052)
#define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338)
#define WERR_SERVER_UNAVAILABLE W_ERROR(1722)
#define WERR_INVALID_FORM_NAME W_ERROR(1902)
diff --git a/source3/include/rpc_svcctl.h b/source3/include/rpc_svcctl.h
index 6fcfd6f52d..fd24ec7ca9 100644
--- a/source3/include/rpc_svcctl.h
+++ b/source3/include/rpc_svcctl.h
@@ -72,6 +72,11 @@
#define SVCCTL_ACCEPT_HARDWAREPROFILECHANGE 0x00000020
#define SVCCTL_ACCEPT_POWEREVENT 0x00000040
+/* Service Controls */
+
+#define SVCCTL_CONTROL_STOP 0x00000001
+#define SVCCTL_CONTROL_PAUSE 0x00000002
+#define SVCCTL_CONTROL_CONTINUE 0x00000003
/* utility structures for RPCs */