and formatting in the technical content. 8/29/2008 3.1 Minor Clarified the meaning of the technical content. 10/24/2008 3.1.1 Editorial Changed language and formatting in the technical content. 12/5/2008 4.0 Updated and revised the technical content. 1/16/2009 5.0 Major Updated and revised the technical content. 2/27/2009 6.0 Updated and revised the technical content. 4/10/2009 7.0 Major Updated and revised the technical content. 5/22/2009 8.0 Updated and revised the technical content. 7/2/2009 9.0 Major Updated and revised the technical content. 8/14/2009 10.0 Major Updated and revised the technical content.
SERVICE_STOP_REASON_MAJOR_OPERATINGSYSTEM 0x00030000 Operating system issue SERVICE_STOP_REASON_MAJOR_OTHER 0x00010000 issue SERVICE_STOP_REASON_MAJOR_SOFTWARE 0x00040000 Software issue The following are the minor reason codes. Value Meaning SERVICE_STOP_REASON_MINOR_DISK 0x00000008 Disk SERVICE_STOP_REASON_MINOR_ENVIRONMENT 0x0000000a Environment SERVICE_STOP_REASON_MINOR_HARDWARE_DRIVER 0x0000000b Driver SERVICE_STOP_REASON_MINOR_HUNG 0x00000006 Unresponsive SERVICE_STOP_REASON_MINOR_INSTALLATION 0x00000003 Installation SERVICE_STOP_REASON_MINOR_MAINTENANCE 0x00000002 Maintenance SERVICE_STOP_REASON_MINOR_MMC 0x00000016 MMC issue SERVICE_STOP_REASON_MINOR_NETWORK_CONNECTIVITY 0x00000011 Network connectivity SERVICE_STOP_REASON_MINOR_NETWORKCARD 0x00000009 Network card SERVICE_STOP_REASON_MINOR_NONE 0x00000017 No minor reason SERVICE_STOP_REASON_MINOR_OTHER 0x00000001 Other issue SERVICE_STOP_REASON_MINOR_OTHERDRIVER 0x0000000c Other driver event SERVICE_STOP_REASON_MINOR_RECONFIG 0x00000005 Reconfigure SERVICE_STOP_REASON_MINOR_SECURITY 0x00000010 Security issue
PBYTE pRequiredPrivileges; } SERVICE_RPC_REQUIRED_PRIVILEGES_INFO, *LPSERVICE_RPC_REQUIRED_PRIVILEGES_INFO; cbRequiredPrivileges: Size, in bytes, of the pRequiredPrivileges buffer. pRequiredPrivileges: Buffer that contains the required privileges of a service in the format of a sequence of null-terminated strings, terminated by an empty string (\0). The privilege constants are detailed in section 3.1.1.2.1. SERVICE_STATUS_PROCESS The SERVICE_STATUS_PROCESS structure contains information about a service that is used by the method. typedef struct { dwServiceType; DWORD dwCurrentState; dwControlsAccepted; DWORD dwWin32ExitCode; DWORD dwServiceSpecificExitCode; DWORD dwCheckPoint; DWORD dwWaitHint; DWORD dwProcessId; DWORD dwServiceFlags; } SERVICE_STATUS_PROCESS, *LPSERVICE_STATUS_PROCESS; dwServiceType: The type of service. This MUST be one of the following values. Value Meaning SERVICE_KERNEL_DRIVER 0x00000001 A driver service. These are services that manage devices on the system. SERVICE_FILE_SYSTEM_DRIVER 0x00000002 A file system driver service. These are services that manage file systems on the system. SERVICE_WIN32_OWN_PROCESS 0x00000010 A service that runs in its own process. SERVICE_WIN32_SHARE_PROCESS 0x00000020 A service that shares a process with other services. SERVICE_INTERACTIVE_PROCESS 0x00000100 The service can interact with the desktop. Only SERVICE_WIN32_OWN_PROCESS and SERVICE_INTERACTIVE_PROCESS or SERVICE_WIN32_SHARE_PROCESS and SERVICE_INTERACTIVE_PROCESS can be combined. dwCurrentState: The current state of the service. This MUST be one of the following values. Value Meaning 0x00000005 SERVICE_CONTINUE_PENDING 0x00000006 SERVICE_PAUSE_PENDING
SERVICE_ALL_ACCESS 0x000F01FF In addition to all access rights in this table, SERVICE_ALL_ACCESS includes Delete (DE), Read Control (RC), Write DACL (WD), and Write Owner (WO) access, as specified in ACCESS_MASK (section 2.4.3) of [MS-DTYP]. SERVICE_CHANGE_CONFIG 0x00000002 Required to change the configuration of a service. SERVICE_ENUMERATE_DEPENDENTS 0x00000008 Required to enumerate the services installed on the server. SERVICE_INTERROGATE 0x00000080 Required to request immediate status from the service. SERVICE_PAUSE_CONTINUE 0x00000040 Required to pause or continue the service. SERVICE_QUERY_CONFIG 0x00000001 Required to query the service configuration. SERVICE_QUERY_STATUS 0x00000004 Required to request the service status. SERVICE_START 0x00000010 Required to start the service. SERVICE_STOP 0x00000020 Required to stop the service. SERVICE_USER_DEFINED_CONTROL 0x00000100 Required to specify a control code. SERVICE_SET_STATUS 0x00008000 Required for a service to set its status. Specific access for Service Control Manager object: Value Meaning SC_MANAGER_LOCK 0x00000008 Required to lock the SCM database. SC_MANAGER_CREATE_SERVICE 0x00000002 Required for a service to be created. SC_MANAGER_ENUMERATE_SERVICE 0x00000004 Required to enumerate a service. SC_MANAGER_CONNECT 0x00000001 Required to connect to the SCM.
Protocol syntax refers to data elements (such as packets, structures, enumerations, and methods) as well as interfaces. Protocol revision refers to changes made to a protocol that affect the bits that are sent over the wire. The changes made to this document are listed in the following For more information, please contact . Section Tracking number (if applicable) and description Major change (Y or N) Change type SC_RPC_CONFIG_INFOA 72523 : Removed case values 10 and 11, which are not supported for remote usage. Y Content update. SC_RPC_CONFIG_INFOW 72523 : Removed case values 10 and 11, which are not supported for remote usage. Y Content update. RQueryServiceConfig2A (Opnum 38) 72523 : Removed reference to SERVICE_CONFIG_RUNLEVEL_INFO value. Y Content update. RQueryServiceConfig2W (Opnum 39) 72523 : Removed reference to SERVICE_CONFIG_RUNLEVEL_INFO value. Y Content update. Appendix B: Product Behavior Updated content for Windows 10 and Windows Server 2016 Technical Preview. Y Product behavior note updated. 7 Appendix B: Product Behavior Added Windows 10 to applicability list. Y Content update.
Index A 49 49 141 11 C 11 166 13 13 48 141 D 49 49 13 13 E 16 17 16 16 48 Events 141 141 143 143 F 12 145 G 7 I 145 144 144 10 58 58 7 L 141 141 16 17 16 16 17 19 21 21 22 31 32 32 34 33 34 47 37 40 38 38 41 43 43 M 47 58 58 Messages 13 13 13 13 13 13 13 Methods 113 114 92 74 134 63 64 135 138