Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Service (Constants)
 
.
Summary
TODO - a short description of this collection of constants

C# Constants:

TODO

VB Constants:

Const STANDARD_RIGHTS_REQUIRED As Int32 = &HF0000

Const SERVICE_AUTO_START As Int32 = &H2
Const SERVICE_DEMAND_START As Int32 = &H3
Const SERVICE_DISABLED As Int32 = &H4

Const SERVICE_ERROR_NORMAL As Int32 = &H1

Const SERVICE_WIN32_OWN_PROCESS As Int32 = &H10

Const SERVICE_QUERY_CONFIG As Int32 = &H1
Const SERVICE_CHANGE_CONFIG As Int32 = &H2
Const SERVICE_QUERY_STATUS As Int32 = &H4
Const SERVICE_ENUMERATE_DEPENDENTS As Int32 = &H8
Const SERVICE_START As Int32 = &H10
Const SERVICE_STOP As Int32 = &H20
Const SERVICE_PAUSE_CONTINUE As Int32 = &H40
Const SERVICE_INTERROGATE As Int32 = &H80
Const SERVICE_USER_DEFINED_CONTROL As Int32 = &H100

Const SERVICE_ALL_ACCESS As Integer = STANDARD_RIGHTS_REQUIRED Or _
                    SERVICE_QUERY_CONFIG Or _
                    SERVICE_CHANGE_CONFIG Or _
                    SERVICE_QUERY_STATUS Or _
                    SERVICE_ENUMERATE_DEPENDENTS Or _
                    SERVICE_START Or _
                    SERVICE_STOP Or _
                    SERVICE_PAUSE_CONTINUE Or _
                    SERVICE_INTERROGATE Or _
                    SERVICE_USER_DEFINED_CONTROL

Notes:

For use with the CreateService API call in ADVAPI32.DLL

 

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions