win32metadata/generation/WinSDK/manual/Services.cs

13 строки
839 B
C#

using System;
using System.Runtime.InteropServices;
using Windows.Win32.Foundation.Metadata;
namespace Windows.Win32.System.Services
{
public static unsafe partial class Apis
{
public const uint SERVICE_ALL_ACCESS = ((uint)Windows.Win32.Storage.FileSystem.FILE_ACCESS_RIGHTS.STANDARD_RIGHTS_REQUIRED | SERVICE_QUERY_CONFIG | SERVICE_CHANGE_CONFIG | SERVICE_QUERY_STATUS | SERVICE_ENUMERATE_DEPENDENTS | SERVICE_START | SERVICE_STOP | SERVICE_PAUSE_CONTINUE | SERVICE_INTERROGATE | SERVICE_USER_DEFINED_CONTROL);
public const uint SC_MANAGER_ALL_ACCESS = ((uint)Windows.Win32.Storage.FileSystem.FILE_ACCESS_RIGHTS.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);
}
}