SCM_ACCESS (Enums)
Last changed: -142.83.138.3

.
Summary
TODO - a short description

C# Definition:

[Flags]
public enum SCM_ACCESS : uint
{
     STANDARD_RIGHTS_REQUIRED       = 0xF0000,
     SC_MANAGER_CONNECT         = 0x00001,
     SC_MANAGER_CREATE_SERVICE      = 0x00002,
     SC_MANAGER_ENUMERATE_SERVICE   = 0x00004,
     SC_MANAGER_LOCK        = 0x00008,
     SC_MANAGER_QUERY_LOCK_STATUS   = 0x00010,
     SC_MANAGER_MODIFY_BOOT_CONFIG  = 0x00020,
     SC_MANAGER_ALL_ACCESS      = STANDARD_RIGHTS_REQUIRED |
                      SC_MANAGER_CONNECT |
                      SC_MANAGER_CREATE_SERVICE |
                      SC_MANAGER_ENUMERATE_SERVICE |
                      SC_MANAGER_LOCK |
                      SC_MANAGER_QUERY_LOCK_STATUS |
                      SC_MANAGER_MODIFY_BOOT_CONFIG
}

VB Definition:

<Flags()> _

Public Enum SCM_ACCESS As UInteger

    STANDARD_RIGHTS_REQUIRED = &HF0000
    SC_MANAGER_CONNECT = &H1
    SC_MANAGER_CREATE_SERVICE = &H2
    SC_MANAGER_ENUMERATE_SERVICE = &H4
    SC_MANAGER_LOCK = &H8
    SC_MANAGER_QUERY_LOCK_STATUS = &H10
    SC_MANAGER_MODIFY_BOOT_CONFIG = &H20
    SC_MANAGER_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED And SC_MANAGER_CONNECT And SC_MANAGER_CREATE_SERVICE And SC_MANAGER_ENUMERATE_SERVICE And SC_MANAGER_LOCK And SC_MANAGER_QUERY_LOCK_STATUS And SC_MANAGER_MODIFY_BOOT_CONFIG

End Enum

Notes:

see OpenSCManager

Documentation
SCM_ACCESS on MSDN