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