ReactOS  0.4.14-dev-98-gb0d4763
svcctl.idl File Reference
import "ms-dtyp.idl";
Include dependency graph for svcctl.idl:

Go to the source code of this file.

Classes

struct  _SERVICE_STATUS
 
struct  _SERVICE_STATUS_PROCESS
 
struct  _ENUM_SERVICE_STATUSA
 
struct  _ENUM_SERVICE_STATUSW
 
struct  _ENUM_SERVICE_STATUS_PROCESSA
 
struct  _ENUM_SERVICE_STATUS_PROCESSW
 
struct  _QUERY_SERVICE_CONFIGA
 
struct  _QUERY_SERVICE_CONFIGW
 
struct  _QUERY_SERVICE_LOCK_STATUSA
 
struct  _QUERY_SERVICE_LOCK_STATUSW
 
struct  _SC_ACTION
 
struct  _SERVICE_DESCRIPTIONA
 
struct  _SERVICE_DESCRIPTIONW
 
struct  _SERVICE_FAILURE_ACTIONSA
 
struct  _SERVICE_FAILURE_ACTIONSW
 
struct  _SERVICE_DELAYED_AUTO_START_INFO
 
struct  _SERVICE_FAILURE_ACTIONS_FLAG
 
struct  _SERVICE_SID_INFO
 
struct  _SERVICE_RPC_REQUIRED_PRIVILEGES_INFO
 
struct  _SERVICE_PRESHUTDOWN_INFO
 
struct  _SC_RPC_CONFIG_INFOA
 
struct  _SC_RPC_CONFIG_INFOW
 
struct  _SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1
 
struct  _SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2
 
struct  _SC_RPC_NOTIFY_PARAMS
 
struct  _SC_RPC_NOTIFY_PARAMS_LIST
 
struct  _SERVICE_CONTROL_STATUS_REASON_IN_PARAMSA
 
struct  _SERVICE_CONTROL_STATUS_REASON_IN_PARAMSW
 
struct  _SERVICE_CONTROL_STATUS_REASON_OUT_PARAMS
 
struct  _STRING_PTRSA
 
struct  _STRING_PTRSW
 
struct  _TAG_INFO_NAME_FROM_TAG_IN_PARAMS
 
struct  _TAG_INFO_NAME_FROM_TAG_OUT_PARAMS
 
struct  _TAG_INFO_NAME_FROM_TAG
 
interface  svcctl
 

Typedefs

typedef LPSTR SVCCTL_HANDLEA
 
typedef LPWSTR SVCCTL_HANDLEW
 
typedef ULONG_PTR RPC_SERVICE_STATUS_HANDLE
 
typedef PVOID SC_RPC_HANDLE
 
typedef SC_RPC_HANDLELPSC_RPC_HANDLE
 
typedef PVOID SC_RPC_LOCK
 
typedef SC_RPC_LOCKLPSC_RPC_LOCK
 
typedef PVOID SC_NOTIFY_RPC_HANDLE
 
typedef SC_NOTIFY_RPC_HANDLELPSC_NOTIFY_RPC_HANDLE
 
typedef DWORD BOUNDED_DWORD_4K
 
typedef BOUNDED_DWORD_4KLPBOUNDED_DWORD_4K
 
typedef DWORD BOUNDED_DWORD_8K
 
typedef BOUNDED_DWORD_8KLPBOUNDED_DWORD_8K
 
typedef DWORD BOUNDED_DWORD_256K
 
typedef BOUNDED_DWORD_256KLPBOUNDED_DWORD_256K
 
typedef struct _SERVICE_STATUS SERVICE_STATUS
 
typedef struct _SERVICE_STATUSLPSERVICE_STATUS
 
typedef struct _SERVICE_STATUS_PROCESS SERVICE_STATUS_PROCESS
 
typedef struct _SERVICE_STATUS_PROCESSLPSERVICE_STATUS_PROCESS
 
typedef struct _ENUM_SERVICE_STATUSA ENUM_SERVICE_STATUSA
 
typedef struct _ENUM_SERVICE_STATUSALPENUM_SERVICE_STATUSA
 
typedef struct _ENUM_SERVICE_STATUSW ENUM_SERVICE_STATUSW
 
typedef struct _ENUM_SERVICE_STATUSWLPENUM_SERVICE_STATUSW
 
typedef struct _ENUM_SERVICE_STATUS_PROCESSA ENUM_SERVICE_STATUS_PROCESSA
 
typedef struct _ENUM_SERVICE_STATUS_PROCESSALPENUM_SERVICE_STATUS_PROCESSA
 
typedef struct _ENUM_SERVICE_STATUS_PROCESSW ENUM_SERVICE_STATUS_PROCESSW
 
typedef struct _ENUM_SERVICE_STATUS_PROCESSWLPENUM_SERVICE_STATUS_PROCESSW
 
typedef struct _QUERY_SERVICE_CONFIGA QUERY_SERVICE_CONFIGA
 
typedef struct _QUERY_SERVICE_CONFIGALPQUERY_SERVICE_CONFIGA
 
typedef struct _QUERY_SERVICE_CONFIGW QUERY_SERVICE_CONFIGW
 
typedef struct _QUERY_SERVICE_CONFIGWLPQUERY_SERVICE_CONFIGW
 
typedef struct _QUERY_SERVICE_LOCK_STATUSA QUERY_SERVICE_LOCK_STATUSA
 
typedef struct _QUERY_SERVICE_LOCK_STATUSALPQUERY_SERVICE_LOCK_STATUSA
 
typedef struct _QUERY_SERVICE_LOCK_STATUSW QUERY_SERVICE_LOCK_STATUSW
 
typedef struct _QUERY_SERVICE_LOCK_STATUSWLPQUERY_SERVICE_LOCK_STATUSW
 
typedef enum _SC_ACTION_TYPE SC_ACTION_TYPE
 
typedef struct _SC_ACTION SC_ACTION
 
typedef struct _SC_ACTIONLPSC_ACTION
 
typedef enum _SC_ENUM_TYPE SC_ENUM_TYPE
 
typedef struct _SERVICE_DESCRIPTIONA SERVICE_DESCRIPTIONA
 
typedef struct _SERVICE_DESCRIPTIONALPSERVICE_DESCRIPTIONA
 
typedef struct _SERVICE_DESCRIPTIONW SERVICE_DESCRIPTIONW
 
typedef struct _SERVICE_DESCRIPTIONWLPSERVICE_DESCRIPTIONW
 
typedef struct _SERVICE_FAILURE_ACTIONSA SERVICE_FAILURE_ACTIONSA
 
typedef struct _SERVICE_FAILURE_ACTIONSALPSERVICE_FAILURE_ACTIONSA
 
typedef struct _SERVICE_FAILURE_ACTIONSW SERVICE_FAILURE_ACTIONSW
 
typedef struct _SERVICE_FAILURE_ACTIONSWLPSERVICE_FAILURE_ACTIONSW
 
typedef struct _SERVICE_DELAYED_AUTO_START_INFO SERVICE_DELAYED_AUTO_START_INFO
 
typedef struct _SERVICE_DELAYED_AUTO_START_INFOLPSERVICE_DELAYED_AUTO_START_INFO
 
typedef struct _SERVICE_FAILURE_ACTIONS_FLAG SERVICE_FAILURE_ACTIONS_FLAG
 
typedef struct _SERVICE_FAILURE_ACTIONS_FLAGLPSERVICE_FAILURE_ACTIONS_FLAG
 
typedef struct _SERVICE_SID_INFO SERVICE_SID_INFO
 
typedef struct _SERVICE_SID_INFOLPSERVICE_SID_INFO
 
typedef struct _SERVICE_RPC_REQUIRED_PRIVILEGES_INFO SERVICE_RPC_REQUIRED_PRIVILEGES_INFO
 
typedef struct _SERVICE_RPC_REQUIRED_PRIVILEGES_INFOLPSERVICE_RPC_REQUIRED_PRIVILEGES_INFO
 
typedef _SERVICE_PRESHUTDOWN_INFO_DEFINED_ struct _SERVICE_PRESHUTDOWN_INFO SERVICE_PRESHUTDOWN_INFO
 
typedef _SERVICE_PRESHUTDOWN_INFO_DEFINED_ struct _SERVICE_PRESHUTDOWN_INFOLPSERVICE_PRESHUTDOWN_INFO
 
typedef struct _SC_RPC_CONFIG_INFOA SC_RPC_CONFIG_INFOA
 
typedef struct _SC_RPC_CONFIG_INFOALPSC_RPC_CONFIG_INFOA
 
typedef struct _SC_RPC_CONFIG_INFOW SC_RPC_CONFIG_INFOW
 
typedef struct _SC_RPC_CONFIG_INFOWLPSC_RPC_CONFIG_INFOW
 
typedef struct _SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1 SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1
 
typedef struct _SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1PSERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1
 
typedef struct _SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2 SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2
 
typedef struct _SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2PSERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2
 
typedef struct _SC_RPC_NOTIFY_PARAMS SC_RPC_NOTIFY_PARAMS
 
typedef struct _SC_RPC_NOTIFY_PARAMSLPSC_RPC_NOTIFY_PARAMS
 
typedef struct _SC_RPC_NOTIFY_PARAMS_LIST SC_RPC_NOTIFY_PARAMS_LIST
 
typedef struct _SC_RPC_NOTIFY_PARAMS_LISTPSC_RPC_NOTIFY_PARAMS_LIST
 
typedef enum _SC_STATUS_TYPE SC_STATUS_TYPE
 
typedef struct _SERVICE_CONTROL_STATUS_REASON_IN_PARAMSA SERVICE_CONTROL_STATUS_REASON_IN_PARAMSA
 
typedef struct _SERVICE_CONTROL_STATUS_REASON_IN_PARAMSALPSERVICE_CONTROL_STATUS_REASON_IN_PARAMSA
 
typedef struct _SERVICE_CONTROL_STATUS_REASON_IN_PARAMSW SERVICE_CONTROL_STATUS_REASON_IN_PARAMSW
 
typedef struct _SERVICE_CONTROL_STATUS_REASON_IN_PARAMSWLPSERVICE_CONTROL_STATUS_REASON_IN_PARAMSW
 
typedef struct _SERVICE_CONTROL_STATUS_REASON_OUT_PARAMS SERVICE_CONTROL_STATUS_REASON_OUT_PARAMS
 
typedef struct _SERVICE_CONTROL_STATUS_REASON_OUT_PARAMSLPSERVICE_CONTROL_STATUS_REASON_OUT_PARAMS
 
typedef SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2 SERVICE_NOTIFY_STATUS_CHANGE_PARAMS
 
typedef SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2LPSERVICE_NOTIFY_STATUS_CHANGE_PARAMS
 
typedef struct _STRING_PTRSA STRING_PTRSA
 
typedef struct _STRING_PTRSAPSTRING_PTRSA
 
typedef struct _STRING_PTRSALPSTRING_PTRSA
 
typedef struct _STRING_PTRSW STRING_PTRSW
 
typedef struct _STRING_PTRSWPSTRING_PTRSW
 
typedef struct _STRING_PTRSWLPSTRING_PTRSW
 
typedef enum _TAG_INFO_LEVEL TAG_INFO_LEVEL
 
typedef enum _TAG_TYPE TAG_TYPE
 
typedef struct _TAG_INFO_NAME_FROM_TAG_IN_PARAMS TAG_INFO_NAME_FROM_TAG_IN_PARAMS
 
typedef struct _TAG_INFO_NAME_FROM_TAG_IN_PARAMSPTAG_INFO_NAME_FROM_TAG_IN_PARAMS
 
typedef struct _TAG_INFO_NAME_FROM_TAG_OUT_PARAMS TAG_INFO_NAME_FROM_TAG_OUT_PARAMS
 
typedef struct _TAG_INFO_NAME_FROM_TAG_OUT_PARAMSPTAG_INFO_NAME_FROM_TAG_OUT_PARAMS
 
typedef struct _TAG_INFO_NAME_FROM_TAG TAG_INFO_NAME_FROM_TAG
 
typedef struct _TAG_INFO_NAME_FROM_TAGPTAG_INFO_NAME_FROM_TAG
 

Enumerations

enum  _SC_ACTION_TYPE {
  SC_ACTION_NONE = 0, SC_ACTION_RESTART = 1, SC_ACTION_REBOOT = 2, SC_ACTION_RUN_COMMAND = 3,
  SC_ACTION_NONE = 0, SC_ACTION_RESTART = 1, SC_ACTION_REBOOT = 2, SC_ACTION_RUN_COMMAND = 3
}
 
enum  _SC_ENUM_TYPE { SC_ENUM_PROCESS_INFO = 0, SC_ENUM_PROCESS_INFO = 0 }
 
enum  _SC_STATUS_TYPE { SC_STATUS_PROCESS_INFO = 0, SC_STATUS_PROCESS_INFO = 0 }
 
enum  _TAG_INFO_LEVEL { TagInfoLevelNameFromTag = 1 }
 
enum  _TAG_TYPE { TagTypeService = 1 }
 

Variables

const unsigned int MAX_SERVICE_NAME_LENGTH = 256
 
const unsigned short SC_MAX_DEPEND_SIZE = 4 * 1024
 
const unsigned short SC_MAX_NAME_LENGTH = MAX_SERVICE_NAME_LENGTH + 1
 
const unsigned short SC_MAX_PATH_LENGTH = 32 * 1024
 
const unsigned short SC_MAX_PWD_SIZE = 514
 
const unsigned short SC_MAX_COMPUTER_NAME_LENGTH = 1024
 
const unsigned short SC_MAX_ACCOUNT_NAME_LENGTH = 2 * 1024
 
const unsigned short SC_MAX_COMMENT_LENGTH = 128
 
const unsigned short SC_MAX_ARGUMENT_LENGTH = 1024
 
const unsigned short SC_MAX_ARGUMENTS = 1024
 

Typedef Documentation

◆ BOUNDED_DWORD_256K

Definition at line 31 of file svcctl.idl.

◆ BOUNDED_DWORD_4K

Definition at line 27 of file svcctl.idl.

◆ BOUNDED_DWORD_8K

Definition at line 29 of file svcctl.idl.

◆ ENUM_SERVICE_STATUS_PROCESSA

◆ ENUM_SERVICE_STATUS_PROCESSW

◆ ENUM_SERVICE_STATUSA

◆ ENUM_SERVICE_STATUSW

◆ LPBOUNDED_DWORD_256K

Definition at line 32 of file svcctl.idl.

◆ LPBOUNDED_DWORD_4K

Definition at line 28 of file svcctl.idl.

◆ LPBOUNDED_DWORD_8K

Definition at line 30 of file svcctl.idl.

◆ LPENUM_SERVICE_STATUS_PROCESSA

◆ LPENUM_SERVICE_STATUS_PROCESSW

◆ LPENUM_SERVICE_STATUSA

◆ LPENUM_SERVICE_STATUSW

◆ LPQUERY_SERVICE_CONFIGA

◆ LPQUERY_SERVICE_CONFIGW

◆ LPQUERY_SERVICE_LOCK_STATUSA

◆ LPQUERY_SERVICE_LOCK_STATUSW

◆ LPSC_ACTION

◆ LPSC_NOTIFY_RPC_HANDLE

Definition at line 26 of file svcctl.idl.

◆ LPSC_RPC_CONFIG_INFOA

◆ LPSC_RPC_CONFIG_INFOW

◆ LPSC_RPC_HANDLE

Definition at line 22 of file svcctl.idl.

◆ LPSC_RPC_LOCK

Definition at line 24 of file svcctl.idl.

◆ LPSC_RPC_NOTIFY_PARAMS

◆ LPSERVICE_CONTROL_STATUS_REASON_IN_PARAMSA

◆ LPSERVICE_CONTROL_STATUS_REASON_IN_PARAMSW

◆ LPSERVICE_CONTROL_STATUS_REASON_OUT_PARAMS

◆ LPSERVICE_DELAYED_AUTO_START_INFO

◆ LPSERVICE_DESCRIPTIONA

◆ LPSERVICE_DESCRIPTIONW

◆ LPSERVICE_FAILURE_ACTIONS_FLAG

◆ LPSERVICE_FAILURE_ACTIONSA

◆ LPSERVICE_FAILURE_ACTIONSW

◆ LPSERVICE_NOTIFY_STATUS_CHANGE_PARAMS

◆ LPSERVICE_PRESHUTDOWN_INFO

◆ LPSERVICE_RPC_REQUIRED_PRIVILEGES_INFO

◆ LPSERVICE_SID_INFO

◆ LPSERVICE_STATUS

◆ LPSERVICE_STATUS_PROCESS

◆ LPSTRING_PTRSA

◆ LPSTRING_PTRSW

◆ PSC_RPC_NOTIFY_PARAMS_LIST

◆ PSERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1

◆ PSERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2

◆ PSTRING_PTRSA

◆ PSTRING_PTRSW

◆ PTAG_INFO_NAME_FROM_TAG

◆ PTAG_INFO_NAME_FROM_TAG_IN_PARAMS

◆ PTAG_INFO_NAME_FROM_TAG_OUT_PARAMS

◆ QUERY_SERVICE_CONFIGA

◆ QUERY_SERVICE_CONFIGW

◆ QUERY_SERVICE_LOCK_STATUSA

◆ QUERY_SERVICE_LOCK_STATUSW

◆ RPC_SERVICE_STATUS_HANDLE

Definition at line 20 of file svcctl.idl.

◆ SC_ACTION

◆ SC_ACTION_TYPE

◆ SC_ENUM_TYPE

◆ SC_NOTIFY_RPC_HANDLE

Definition at line 25 of file svcctl.idl.

◆ SC_RPC_CONFIG_INFOA

◆ SC_RPC_CONFIG_INFOW

◆ SC_RPC_HANDLE

Definition at line 21 of file svcctl.idl.

◆ SC_RPC_LOCK

typedef PVOID SC_RPC_LOCK

Definition at line 23 of file svcctl.idl.

◆ SC_RPC_NOTIFY_PARAMS

◆ SC_RPC_NOTIFY_PARAMS_LIST

◆ SC_STATUS_TYPE

◆ SERVICE_CONTROL_STATUS_REASON_IN_PARAMSA

◆ SERVICE_CONTROL_STATUS_REASON_IN_PARAMSW

◆ SERVICE_CONTROL_STATUS_REASON_OUT_PARAMS

◆ SERVICE_DELAYED_AUTO_START_INFO

◆ SERVICE_DESCRIPTIONA

◆ SERVICE_DESCRIPTIONW

◆ SERVICE_FAILURE_ACTIONS_FLAG

◆ SERVICE_FAILURE_ACTIONSA

◆ SERVICE_FAILURE_ACTIONSW

◆ SERVICE_NOTIFY_STATUS_CHANGE_PARAMS

◆ SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_1

◆ SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2

◆ SERVICE_PRESHUTDOWN_INFO

◆ SERVICE_RPC_REQUIRED_PRIVILEGES_INFO

◆ SERVICE_SID_INFO

◆ SERVICE_STATUS

◆ SERVICE_STATUS_PROCESS

◆ STRING_PTRSA

◆ STRING_PTRSW

◆ SVCCTL_HANDLEA

Definition at line 18 of file svcctl.idl.

◆ SVCCTL_HANDLEW

Definition at line 19 of file svcctl.idl.

◆ TAG_INFO_LEVEL

◆ TAG_INFO_NAME_FROM_TAG

◆ TAG_INFO_NAME_FROM_TAG_IN_PARAMS

◆ TAG_INFO_NAME_FROM_TAG_OUT_PARAMS

◆ TAG_TYPE

Enumeration Type Documentation

◆ _SC_ACTION_TYPE

Enumerator
SC_ACTION_NONE 
SC_ACTION_RESTART 
SC_ACTION_REBOOT 
SC_ACTION_RUN_COMMAND 
SC_ACTION_NONE 
SC_ACTION_RESTART 
SC_ACTION_REBOOT 
SC_ACTION_RUN_COMMAND 

Definition at line 118 of file svcctl.idl.

118  {
119  SC_ACTION_NONE = 0,
120  SC_ACTION_RESTART = 1,
121  SC_ACTION_REBOOT = 2,
enum _SC_ACTION_TYPE SC_ACTION_TYPE

◆ _SC_ENUM_TYPE

Enumerator
SC_ENUM_PROCESS_INFO 
SC_ENUM_PROCESS_INFO 

Definition at line 130 of file svcctl.idl.

130  {
132 } SC_ENUM_TYPE;
enum _SC_ENUM_TYPE SC_ENUM_TYPE

◆ _SC_STATUS_TYPE

Enumerator
SC_STATUS_PROCESS_INFO 
SC_STATUS_PROCESS_INFO 

Definition at line 269 of file svcctl.idl.

269  {
enum _SC_STATUS_TYPE SC_STATUS_TYPE

◆ _TAG_INFO_LEVEL

Enumerator
TagInfoLevelNameFromTag 

Definition at line 299 of file svcctl.idl.

299  {
enum _TAG_INFO_LEVEL TAG_INFO_LEVEL

◆ _TAG_TYPE

Enumerator
TagTypeService 

Definition at line 303 of file svcctl.idl.

303  {
304  TagTypeService = 1,
305 } TAG_TYPE;
enum _TAG_TYPE TAG_TYPE

Variable Documentation

◆ MAX_SERVICE_NAME_LENGTH

const unsigned int MAX_SERVICE_NAME_LENGTH = 256

Definition at line 7 of file svcctl.idl.

Referenced by StartServiceCtrlDispatcherA(), and StartServiceCtrlDispatcherW().

◆ SC_MAX_ACCOUNT_NAME_LENGTH

const unsigned short SC_MAX_ACCOUNT_NAME_LENGTH = 2 * 1024

Definition at line 13 of file svcctl.idl.

◆ SC_MAX_ARGUMENT_LENGTH

const unsigned short SC_MAX_ARGUMENT_LENGTH = 1024

Definition at line 15 of file svcctl.idl.

◆ SC_MAX_ARGUMENTS

const unsigned short SC_MAX_ARGUMENTS = 1024

Definition at line 16 of file svcctl.idl.

◆ SC_MAX_COMMENT_LENGTH

const unsigned short SC_MAX_COMMENT_LENGTH = 128

Definition at line 14 of file svcctl.idl.

◆ SC_MAX_COMPUTER_NAME_LENGTH

const unsigned short SC_MAX_COMPUTER_NAME_LENGTH = 1024

Definition at line 12 of file svcctl.idl.

◆ SC_MAX_DEPEND_SIZE

const unsigned short SC_MAX_DEPEND_SIZE = 4 * 1024

Definition at line 8 of file svcctl.idl.

◆ SC_MAX_NAME_LENGTH

const unsigned short SC_MAX_NAME_LENGTH = MAX_SERVICE_NAME_LENGTH + 1

Definition at line 9 of file svcctl.idl.

◆ SC_MAX_PATH_LENGTH

const unsigned short SC_MAX_PATH_LENGTH = 32 * 1024

Definition at line 10 of file svcctl.idl.

◆ SC_MAX_PWD_SIZE

const unsigned short SC_MAX_PWD_SIZE = 514

Definition at line 11 of file svcctl.idl.