12 references to ServiceTypeOptions
System.ServiceProcess.ServiceController (12)
System\ServiceProcess\ServiceBase.cs (2)
674
_status.serviceType =
ServiceTypeOptions
.SERVICE_WIN32_OWN_PROCESS;
678
_status.serviceType =
ServiceTypeOptions
.SERVICE_WIN32_SHARE_PROCESS;
System\ServiceProcess\ServiceController.cs (3)
673
return GetServicesOfType(machineName, Interop.Advapi32.
ServiceTypeOptions
.SERVICE_DRIVER);
713
return GetServicesOfType(machineName, Interop.Advapi32.
ServiceTypeOptions
.SERVICE_WIN32);
724
return GetServices(machineName, Interop.Advapi32.
ServiceTypeOptions
.SERVICE_WIN32, group, status => status);
System\ServiceProcess\ServiceType.cs (7)
10
Adapter = Interop.Advapi32.
ServiceTypeOptions
.SERVICE_ADAPTER,
11
FileSystemDriver = Interop.Advapi32.
ServiceTypeOptions
.SERVICE_FILE_SYSTEM_DRIVER,
12
InteractiveProcess = Interop.Advapi32.
ServiceTypeOptions
.SERVICE_INTERACTIVE_PROCESS,
13
KernelDriver = Interop.Advapi32.
ServiceTypeOptions
.SERVICE_KERNEL_DRIVER,
14
RecognizerDriver = Interop.Advapi32.
ServiceTypeOptions
.SERVICE_RECOGNIZER_DRIVER,
15
Win32OwnProcess = Interop.Advapi32.
ServiceTypeOptions
.SERVICE_WIN32_OWN_PROCESS,
16
Win32ShareProcess = Interop.Advapi32.
ServiceTypeOptions
.SERVICE_WIN32_SHARE_PROCESS