12 references to ServiceOptions
System.ServiceProcess.ServiceController (12)
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.ServiceProcessOptions.cs (2)
100ServiceOptions.STANDARD_RIGHTS_REQUIRED | 165ServiceOptions.STANDARD_RIGHTS_REQUIRED |
System\ServiceProcess\ServiceController.cs (10)
186using var serviceHandle = GetServiceHandle(Interop.Advapi32.ServiceOptions.SERVICE_ENUMERATE_DEPENDENTS); 304using var serviceHandle = GetServiceHandle(Interop.Advapi32.ServiceOptions.SERVICE_QUERY_CONFIG); 388using var serviceHandle = GetServiceHandle(Interop.Advapi32.ServiceOptions.SERVICE_QUERY_CONFIG); 422return GetServiceHandle(Interop.Advapi32.ServiceOptions.SERVICE_ALL_ACCESS); 498using var serviceHandle = GetServiceHandle(Interop.Advapi32.ServiceOptions.SERVICE_QUERY_STATUS); 805using var serviceHandle = GetServiceHandle(Interop.Advapi32.ServiceOptions.SERVICE_PAUSE_CONTINUE); 821using var serviceHandle = GetServiceHandle(Interop.Advapi32.ServiceOptions.SERVICE_PAUSE_CONTINUE); 837using var serviceHandle = GetServiceHandle(Interop.Advapi32.ServiceOptions.SERVICE_USER_DEFINED_CONTROL); 873using SafeServiceHandle serviceHandle = GetServiceHandle(Interop.Advapi32.ServiceOptions.SERVICE_START); 940using SafeServiceHandle serviceHandle = GetServiceHandle(Interop.Advapi32.ServiceOptions.SERVICE_STOP);