diff options
author | Gerald Carter <jerry@samba.org> | 2006-09-29 20:45:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:14:56 -0500 |
commit | 7b7e7dcb8c9b0df48ed3e35619dcf851252612d0 (patch) | |
tree | 4c078d9e14ebe1211cfcfa27bfa3f4acff2ee3b3 /source3/librpc | |
parent | ff8f68840d78e8ffad2dcc09d404ee30b852f228 (diff) | |
download | samba-7b7e7dcb8c9b0df48ed3e35619dcf851252612d0.tar.gz samba-7b7e7dcb8c9b0df48ed3e35619dcf851252612d0.tar.bz2 samba-7b7e7dcb8c9b0df48ed3e35619dcf851252612d0.zip |
r19007: reformat service control manager IDL
(This used to be commit d0658139a3419e42e00b3cddb2b149d48f2a76a5)
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/idl/svcctl.idl | 456 |
1 files changed, 255 insertions, 201 deletions
diff --git a/source3/librpc/idl/svcctl.idl b/source3/librpc/idl/svcctl.idl index aa159da24e..599d961fbe 100644 --- a/source3/librpc/idl/svcctl.idl +++ b/source3/librpc/idl/svcctl.idl @@ -83,8 +83,8 @@ /*****************/ /* Function 0x00 */ WERROR svcctl_CloseServiceHandle( - [in,out,ref] policy_handle *handle - ); + [in,out,ref] policy_handle *handle + ); /*****************/ /* Function 0x01 */ @@ -94,135 +94,154 @@ } SERVICE_CONTROL; WERROR svcctl_ControlService( - [in,ref] policy_handle *handle, - [in] uint32 control, - [out,ref] SERVICE_STATUS *status - ); + [in,ref] policy_handle *handle, + [in] uint32 control, + [out,ref] SERVICE_STATUS *status + ); /*****************/ /* Function 0x02 */ - WERROR svcctl_DeleteService([in,ref] policy_handle *handle); + WERROR svcctl_DeleteService( + [in,ref] policy_handle *handle + ); /*****************/ /* Function 0x03 */ WERROR svcctl_LockServiceDatabase( - [in,ref] policy_handle *handle, - [out,ref] policy_handle *lock - ); + [in,ref] policy_handle *handle, + [out,ref] policy_handle *lock + ); /*****************/ /* Function 0x04 */ - WERROR svcctl_QueryServiceObjectSecurity(); + WERROR svcctl_QueryServiceObjectSecurity( + ); /*****************/ /* Function 0x05 */ - WERROR svcctl_SetServiceObjectSecurity(); + WERROR svcctl_SetServiceObjectSecurity( + ); /*****************/ /* Function 0x06 */ WERROR svcctl_QueryServiceStatus( - [in,ref] policy_handle *handle, - [out,ref] SERVICE_STATUS *status); + [in,ref] policy_handle *handle, + [out,ref] SERVICE_STATUS *status + ); /*****************/ /* Function 0x07 */ - WERROR svcctl_SetServiceStatus(); + WERROR svcctl_SetServiceStatus( + ); /*****************/ /* Function 0x08 */ WERROR svcctl_UnlockServiceDatabase( - [in,out,ref] policy_handle *lock - ); + [in,out,ref] policy_handle *lock + ); /*****************/ /* Function 0x09 */ - WERROR svcctl_NotifyBootConfigStatus(); + WERROR svcctl_NotifyBootConfigStatus( + ); /*****************/ /* Function 0x0a */ WERROR svcctl_SCSetServiceBitsW( - [in,ref] policy_handle *handle, - [in] uint32 bits, - [in] boolean32 bitson, - [in] boolean32 immediate); + [in,ref] policy_handle *handle, + [in] uint32 bits, + [in] boolean32 bitson, + [in] boolean32 immediate + ); /*****************/ /* Function 0x0b */ - WERROR svcctl_ChangeServiceConfigW([in,ref] policy_handle *handle, - [in] uint32 type, - [in] uint32 start, - [in] uint32 error, - [in] [string,charset(UTF16)] uint16 *binary_path, - [in] [string,charset(UTF16)] uint16 *load_order_group, - [out,ref] uint32 *tag_id, - [in] [string,charset(UTF16)] uint16 *dependencies, - [in] [string,charset(UTF16)] uint16 *service_start_name, - [in] [string,charset(UTF16)] uint16 *password, - [in] [string,charset(UTF16)] uint16 *display_name); + WERROR svcctl_ChangeServiceConfigW( + [in,ref] policy_handle *handle, + [in] uint32 type, + [in] uint32 start, + [in] uint32 error, + [in] [string,charset(UTF16)] uint16 *binary_path, + [in] [string,charset(UTF16)] uint16 *load_order_group, + [out,ref] uint32 *tag_id, + [in] [string,charset(UTF16)] uint16 *dependencies, + [in] [string,charset(UTF16)] uint16 *service_start_name, + [in] [string,charset(UTF16)] uint16 *password, + [in] [string,charset(UTF16)] uint16 *display_name + ); /*****************/ /* Function 0x0c */ - WERROR svcctl_CreateServiceW([in,ref] policy_handle *scmanager_handle, - [in] [string,charset(UTF16)] uint16 ServiceName[], - [in] [string,charset(UTF16)] uint16 *DisplayName, - [in] uint32 desired_access, - [in] uint32 type, - [in] uint32 start_type, - [in] uint32 error_control, - [in] [string,charset(UTF16)] uint16 binary_path[], - [in] [string,charset(UTF16)] uint16 *LoadOrderGroupKey, - [in,out] uint32 *TagId, - [in,size_is(dependencies_size)] uint8 *dependencies, - [in] uint32 dependencies_size, - [in] [string,charset(UTF16)] uint16 *service_start_name, - [in,size_is(password_size)] uint8 *password, - [in] uint32 password_size, - [out,ref] policy_handle *handle); + WERROR svcctl_CreateServiceW( + [in,ref] policy_handle *scmanager_handle, + [in] [string,charset(UTF16)] uint16 ServiceName[], + [in] [string,charset(UTF16)] uint16 *DisplayName, + [in] uint32 desired_access, + [in] uint32 type, + [in] uint32 start_type, + [in] uint32 error_control, + [in] [string,charset(UTF16)] uint16 binary_path[], + [in] [string,charset(UTF16)] uint16 *LoadOrderGroupKey, + [in,out] uint32 *TagId, + [in,size_is(dependencies_size)] uint8 *dependencies, + [in] uint32 dependencies_size, + [in] [string,charset(UTF16)] uint16 *service_start_name, + [in,size_is(password_size)] uint8 *password, + [in] uint32 password_size, + [out,ref] policy_handle *handle + ); /*****************/ /* Function 0x0d */ - WERROR svcctl_EnumDependentServicesW([in,ref] policy_handle *service, - [in] uint32 state, - [out] ENUM_SERVICE_STATUS *status, - [in] uint32 buf_size, - [out,ref] uint32 *bytes_needed, - [out,ref] uint32 *services_returned); + WERROR svcctl_EnumDependentServicesW( + [in,ref] policy_handle *service, + [in] uint32 state, + [out] ENUM_SERVICE_STATUS *status, + [in] uint32 buf_size, + [out,ref] uint32 *bytes_needed, + [out,ref] uint32 *services_returned + ); /*****************/ /* Function 0x0e */ WERROR svcctl_EnumServicesStatusW( - [in,ref] policy_handle *handle, - [in] uint32 type, - [in] uint32 state, - [in] uint32 buf_size, - [out,size_is(buf_size)] uint8 service[*], - [out,ref] uint32 *bytes_needed, - [out,ref] uint32 *services_returned, - [in,out] uint32 *resume_handle - ); + [in,ref] policy_handle *handle, + [in] uint32 type, + [in] uint32 state, + [in] uint32 buf_size, + [out,size_is(buf_size)] uint8 service[*], + [out,ref] uint32 *bytes_needed, + [out,ref] uint32 *services_returned, + [in,out] uint32 *resume_handle + ); + /*****************/ /* Function 0x0f */ WERROR svcctl_OpenSCManagerW( - [in] [string,charset(UTF16)] uint16 *MachineName, - [in] [string,charset(UTF16)] uint16 *DatabaseName, - [in] uint32 access_mask, - [out,ref] policy_handle *handle); + [in] [string,charset(UTF16)] uint16 *MachineName, + [in] [string,charset(UTF16)] uint16 *DatabaseName, + [in] uint32 access_mask, + [out,ref] policy_handle *handle + ); /*****************/ /* Function 0x10 */ - WERROR svcctl_OpenServiceW([in,ref] policy_handle *scmanager_handle, - [in] [string,charset(UTF16)] uint16 ServiceName[], - [in] uint32 access_mask, - [out,ref] policy_handle *handle); + WERROR svcctl_OpenServiceW( + [in,ref] policy_handle *scmanager_handle, + [in] [string,charset(UTF16)] uint16 ServiceName[], + [in] uint32 access_mask, + [out,ref] policy_handle *handle + ); /*****************/ /* Function 0x11 */ - WERROR svcctl_QueryServiceConfigW([in,ref] policy_handle *handle, - [out] uint8 query[buf_size], /*QUERY_SERVICE_CONFIG */ - [in] uint32 buf_size, - [out,ref] uint32 *bytes_needed - ); + WERROR svcctl_QueryServiceConfigW( + [in,ref] policy_handle *handle, + [out] uint8 query[buf_size], /*QUERY_SERVICE_CONFIG */ + [in] uint32 buf_size, + [out,ref] uint32 *bytes_needed + ); /*****************/ /* Function 0x12 */ @@ -231,108 +250,126 @@ [in] uint32 buf_size, [out,ref] SERVICE_LOCK_STATUS *status, [out,ref] uint32 *required_buf_size - ); + ); /*****************/ /* Function 0x13 */ WERROR svcctl_StartServiceW( - [in,ref] policy_handle *handle, - [in] uint32 NumArgs, - [in,length_is(NumArgs)] [string,charset(UTF16)] uint16 *Arguments); + [in,ref] policy_handle *handle, + [in] uint32 NumArgs, + [in,length_is(NumArgs)] [string,charset(UTF16)] uint16 *Arguments + ); /*****************/ /* Function 0x14 */ - WERROR svcctl_GetServiceDisplayNameW([in,ref] policy_handle *handle, - [in] [string,charset(UTF16)] uint16 *service_name, - [out,ref] [string,charset(UTF16)] uint16 **display_name, - [in,out] uint32 *display_name_length); + WERROR svcctl_GetServiceDisplayNameW( + [in,ref] policy_handle *handle, + [in] [string,charset(UTF16)] uint16 *service_name, + [out,ref] [string,charset(UTF16)] uint16 **display_name, + [in,out] uint32 *display_name_length + ); + /*****************/ /* Function 0x15 */ - WERROR svcctl_GetServiceKeyNameW([in,ref] policy_handle *handle, - [in] [string,charset(UTF16)] uint16 *service_name, - [out,ref] [string,charset(UTF16)] uint16 **key_name, - [in,out] uint32 *display_name_length); + WERROR svcctl_GetServiceKeyNameW( + [in,ref] policy_handle *handle, + [in] [string,charset(UTF16)] uint16 *service_name, + [out,ref] [string,charset(UTF16)] uint16 **key_name, + [in,out] uint32 *display_name_length + ); + /*****************/ /* Function 0x16 */ WERROR svcctl_SCSetServiceBitsA( - [in,ref] policy_handle *handle, - [in] uint32 bits, - [in] boolean32 bitson, - [in] boolean32 immediate); + [in,ref] policy_handle *handle, + [in] uint32 bits, + [in] boolean32 bitson, + [in] boolean32 immediate + ); /*****************/ /* Function 0x17 */ - WERROR svcctl_ChangeServiceConfigA([in,ref] policy_handle *handle, - [in] uint32 type, - [in] uint32 start, - [in] uint32 error, - [in] [string,charset(UTF16)] uint16 *binary_path, - [in] [string,charset(UTF16)] uint16 *load_order_group, - [out,ref] uint32 *tag_id, - [in] [string,charset(UTF16)] uint16 *dependencies, - [in] [string,charset(UTF16)] uint16 *service_start_name, - [in] [string,charset(UTF16)] uint16 *password, - [in] [string,charset(UTF16)] uint16 *display_name); + WERROR svcctl_ChangeServiceConfigA( + [in,ref] policy_handle *handle, + [in] uint32 type, + [in] uint32 start, + [in] uint32 error, + [in] [string,charset(UTF16)] uint16 *binary_path, + [in] [string,charset(UTF16)] uint16 *load_order_group, + [out,ref] uint32 *tag_id, + [in] [string,charset(UTF16)] uint16 *dependencies, + [in] [string,charset(UTF16)] uint16 *service_start_name, + [in] [string,charset(UTF16)] uint16 *password, + [in] [string,charset(UTF16)] uint16 *display_name + ); /*****************/ /* Function 0x18 */ - WERROR svcctl_CreateServiceA([in,ref] policy_handle *handle, - [in] [string,charset(UTF16)] uint16 *ServiceName, - [in] [string,charset(UTF16)] uint16 *DisplayName, - [in] uint32 desired_access, - [in] uint32 type, - [in] uint32 start_type, - [in] uint32 error_control, - [in] [string,charset(UTF16)] uint16 *binary_path, - [in] [string,charset(UTF16)] uint16 *LoadOrderGroupKey, - [out] uint32 *TagId, - [in] [string,charset(UTF16)] uint16 *dependencies, - [in] [string,charset(UTF16)] uint16 *service_start_name, - [in] [string,charset(UTF16)] uint16 *password); + WERROR svcctl_CreateServiceA( + [in,ref] policy_handle *handle, + [in] [string,charset(UTF16)] uint16 *ServiceName, + [in] [string,charset(UTF16)] uint16 *DisplayName, + [in] uint32 desired_access, + [in] uint32 type, + [in] uint32 start_type, + [in] uint32 error_control, + [in] [string,charset(UTF16)] uint16 *binary_path, + [in] [string,charset(UTF16)] uint16 *LoadOrderGroupKey, + [out] uint32 *TagId, + [in] [string,charset(UTF16)] uint16 *dependencies, + [in] [string,charset(UTF16)] uint16 *service_start_name, + [in] [string,charset(UTF16)] uint16 *password + ); /*****************/ /* Function 0x19 */ - WERROR svcctl_EnumDependentServicesA([in,ref] policy_handle *service, - [in] uint32 state, - [out] ENUM_SERVICE_STATUS *status, - [in] uint32 buf_size, - [out,ref] uint32 *bytes_needed, - [out,ref] uint32 *services_returned); + WERROR svcctl_EnumDependentServicesA( + [in,ref] policy_handle *service, + [in] uint32 state, + [out] ENUM_SERVICE_STATUS *status, + [in] uint32 buf_size, + [out,ref] uint32 *bytes_needed, + [out,ref] uint32 *services_returned + ); /*****************/ /* Function 0x1a */ WERROR svcctl_EnumServicesStatusA( - [in,ref] policy_handle *handle, - [in] uint32 type, - [in] uint32 state, - [in] uint32 buf_size, - [out,size_is(buf_size)] uint8 service[*], - [out,ref] uint32 *bytes_needed, - [out,ref] uint32 *services_returned, - [in,out] uint32 *resume_handle - ); + [in,ref] policy_handle *handle, + [in] uint32 type, + [in] uint32 state, + [in] uint32 buf_size, + [out,size_is(buf_size)] uint8 service[*], + [out,ref] uint32 *bytes_needed, + [out,ref] uint32 *services_returned, + [in,out] uint32 *resume_handle + ); /*****************/ /* Function 0x1b */ WERROR svcctl_OpenSCManagerA( - [in] [string,charset(UTF16)] uint16 *MachineName, - [in] [string,charset(UTF16)] uint16 *DatabaseName, - [in] uint32 access_mask, - [out,ref] policy_handle *handle); + [in] [string,charset(UTF16)] uint16 *MachineName, + [in] [string,charset(UTF16)] uint16 *DatabaseName, + [in] uint32 access_mask, + [out,ref] policy_handle *handle + ); /*****************/ /* Function 0x1c */ - WERROR svcctl_OpenServiceA([in,ref] policy_handle *scmanager_handle, - [in] [string,charset(UTF16)] uint16 *ServiceName, - [in] uint32 access_mask); + WERROR svcctl_OpenServiceA( + [in,ref] policy_handle *scmanager_handle, + [in] [string,charset(UTF16)] uint16 *ServiceName, + [in] uint32 access_mask + ); /*****************/ /* Function 0x1d */ - WERROR svcctl_QueryServiceConfigA([in,ref] policy_handle *handle, - [out] uint8 query[buf_size], /*QUERYU_SERVICE_CONFIG */ - [in] uint32 buf_size, - [out,ref] uint32 *bytes_needed - ); + WERROR svcctl_QueryServiceConfigA( + [in,ref] policy_handle *handle, + [out] uint8 query[buf_size], /*QUERYU_SERVICE_CONFIG */ + [in] uint32 buf_size, + [out,ref] uint32 *bytes_needed + ); /*****************/ /* Function 0x1e */ @@ -341,105 +378,122 @@ [in] uint32 buf_size, [out,ref] SERVICE_LOCK_STATUS *status, [out,ref] uint32 *required_buf_size - ); + ); /*****************/ /* Function 0x1f */ WERROR svcctl_StartServiceA( - [in,ref] policy_handle *handle, - [in] uint32 NumArgs, - [in,length_is(NumArgs)] [string,charset(UTF16)] uint16 *Arguments); + [in,ref] policy_handle *handle, + [in] uint32 NumArgs, + [in,length_is(NumArgs)] [string,charset(UTF16)] uint16 *Arguments + ); /*****************/ /* Function 0x20 */ - WERROR svcctl_GetServiceDisplayNameA([in,ref] policy_handle *handle, - [in] [string,charset(UTF16)] uint16 *service_name, - [out,ref] [string,charset(UTF16)] uint16 **display_name, - [in,out] uint32 *display_name_length); + WERROR svcctl_GetServiceDisplayNameA( + [in,ref] policy_handle *handle, + [in] [string,charset(UTF16)] uint16 *service_name, + [out,ref] [string,charset(UTF16)] uint16 **display_name, + [in,out] uint32 *display_name_length + ); + /*****************/ /* Function 0x21 */ - WERROR svcctl_GetServiceKeyNameA([in,ref] policy_handle *handle, - [in] [string,charset(UTF16)] uint16 *service_name, - [out,ref] [string,charset(UTF16)] uint16 **key_name, - [in,out] uint32 *display_name_length); + WERROR svcctl_GetServiceKeyNameA( + [in,ref] policy_handle *handle, + [in] [string,charset(UTF16)] uint16 *service_name, + [out,ref] [string,charset(UTF16)] uint16 **key_name, + [in,out] uint32 *display_name_length + ); /*****************/ /* Function 0x22 */ - WERROR svcctl_GetCurrentGroupeStateW(); + WERROR svcctl_GetCurrentGroupeStateW( + ); /*****************/ /* Function 0x23 */ - WERROR svcctl_EnumServiceGroupW(); + WERROR svcctl_EnumServiceGroupW( + ); /*****************/ /* Function 0x24 */ - WERROR svcctl_ChangeServiceConfig2A([in,ref] policy_handle *handle, - [in] uint32 info_level, - [in] uint8 *info - ); + WERROR svcctl_ChangeServiceConfig2A( + [in,ref] policy_handle *handle, + [in] uint32 info_level, + [in] uint8 *info + ); /*****************/ /* Function 0x25 */ - WERROR svcctl_ChangeServiceConfig2W([in,ref] policy_handle *handle, - [in] uint32 info_level, - [in] uint8 *info); + WERROR svcctl_ChangeServiceConfig2W( + [in,ref] policy_handle *handle, + [in] uint32 info_level, + [in] uint8 *info + ); /*****************/ /* Function 0x26 */ WERROR svcctl_QueryServiceConfig2A( - [in,ref] policy_handle *handle, - [in] uint32 info_level, - [out] uint8 buffer[buf_size], - [in] uint32 buf_size, - [out,ref] uint32 *bytes_needed); + [in,ref] policy_handle *handle, + [in] uint32 info_level, + [out] uint8 buffer[buf_size], + [in] uint32 buf_size, + [out,ref] uint32 *bytes_needed + ); /*****************/ /* Function 0x27 */ WERROR svcctl_QueryServiceConfig2W( - [in,ref] policy_handle *handle, - [in] uint32 info_level, - [out] uint8 buffer[buf_size], - [in] uint32 buf_size, - [out,ref] uint32 *bytes_needed); + [in,ref] policy_handle *handle, + [in] uint32 info_level, + [out] uint8 buffer[buf_size], + [in] uint32 buf_size, + [out,ref] uint32 *bytes_needed + ); /*****************/ /* Function 0x28 */ WERROR svcctl_QueryServiceStatusEx( - [in,ref] policy_handle *handle, - [in] uint32 info_level, - [out] uint8 buffer[buf_size], - [in] uint32 buf_size, - [out,ref] uint32 *bytes_needed); + [in,ref] policy_handle *handle, + [in] uint32 info_level, + [out] uint8 buffer[buf_size], + [in] uint32 buf_size, + [out,ref] uint32 *bytes_needed + ); /*****************/ /* Function 0x29 */ WERROR EnumServicesStatusExA( - [in,ref] policy_handle *scmanager, - [in] uint32 info_level, - [in] uint32 type, - [in] uint32 state, - [out] uint8 services[buf_size], - [in] uint32 buf_size, - [out,ref] uint32 *bytes_needed, - [out,ref] uint32 *service_returned, - [in,out] uint32 *resume_handle, - [out,ref] [string,charset(UTF16)] uint16 **group_name); + [in,ref] policy_handle *scmanager, + [in] uint32 info_level, + [in] uint32 type, + [in] uint32 state, + [out] uint8 services[buf_size], + [in] uint32 buf_size, + [out,ref] uint32 *bytes_needed, + [out,ref] uint32 *service_returned, + [in,out] uint32 *resume_handle, + [out,ref] [string,charset(UTF16)] uint16 **group_name + ); /*****************/ /* Function 0x2a */ WERROR EnumServicesStatusExW( - [in,ref] policy_handle *scmanager, - [in] uint32 info_level, - [in] uint32 type, - [in] uint32 state, - [out] uint8 services[buf_size], - [in] uint32 buf_size, - [out,ref] uint32 *bytes_needed, - [out,ref] uint32 *service_returned, - [in,out] uint32 *resume_handle, - [out,ref] [string,charset(UTF16)] uint16 **group_name); + [in,ref] policy_handle *scmanager, + [in] uint32 info_level, + [in] uint32 type, + [in] uint32 state, + [out] uint8 services[buf_size], + [in] uint32 buf_size, + [out,ref] uint32 *bytes_needed, + [out,ref] uint32 *service_returned, + [in,out] uint32 *resume_handle, + [out,ref] [string,charset(UTF16)] uint16 **group_name + ); /*****************/ /* Function 0x2b */ - WERROR svcctl_SCSendTSMessage(); + WERROR svcctl_SCSendTSMessage( + ); } |