summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/svcctl.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-10-17 15:57:07 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-10-17 15:57:07 +1100
commitc35b0d9ab5d01e37cb06d02083a329e18ae59566 (patch)
tree20dd5885cf3da8d030ef69ab0d32bd2fb4207777 /source3/librpc/gen_ndr/svcctl.h
parent4fb64f13d5101c960a7a234ff2b0b79283de5589 (diff)
parentc783d8a32e4d958aec6d943d0fa3de2e7d3a68c2 (diff)
downloadsamba-c35b0d9ab5d01e37cb06d02083a329e18ae59566.tar.gz
samba-c35b0d9ab5d01e37cb06d02083a329e18ae59566.tar.bz2
samba-c35b0d9ab5d01e37cb06d02083a329e18ae59566.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
Diffstat (limited to 'source3/librpc/gen_ndr/svcctl.h')
-rw-r--r--source3/librpc/gen_ndr/svcctl.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/source3/librpc/gen_ndr/svcctl.h b/source3/librpc/gen_ndr/svcctl.h
index b7f39a9b02..42ed039784 100644
--- a/source3/librpc/gen_ndr/svcctl.h
+++ b/source3/librpc/gen_ndr/svcctl.h
@@ -99,6 +99,18 @@ enum SERVICE_CONTROL
#define SC_RIGHT_SVC_INTERROGATE ( 0x0080 )
#define SC_RIGHT_SVC_USER_DEFINED_CONTROL ( 0x0100 )
+struct QUERY_SERVICE_CONFIG {
+ uint32_t service_type;
+ uint32_t start_type;
+ uint32_t error_control;
+ const char *executablepath;/* [unique,range(0,8192),charset(UTF16)] */
+ const char *loadordergroup;/* [unique,range(0,8192),charset(UTF16)] */
+ uint32_t tag_id;
+ const char *dependencies;/* [unique,range(0,8192),charset(UTF16)] */
+ const char *startname;/* [unique,range(0,8192),charset(UTF16)] */
+ const char *displayname;/* [unique,range(0,8192),charset(UTF16)] */
+}/* [gensize,public] */;
+
struct svcctl_CloseServiceHandle {
struct {
@@ -360,12 +372,12 @@ struct svcctl_OpenServiceW {
struct svcctl_QueryServiceConfigW {
struct {
struct policy_handle *handle;/* [ref] */
- uint32_t buf_size;
+ uint32_t buf_size;/* [range(0,8192)] */
} in;
struct {
- uint8_t *query;
- uint32_t *bytes_needed;/* [ref] */
+ struct QUERY_SERVICE_CONFIG *query;/* [ref] */
+ uint32_t *bytes_needed;/* [ref,range(0,8192)] */
WERROR result;
} out;