File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public enum CreateFileFlagsAndAttributes : uint
106106 SQoSPresent = 0x00100000 ,
107107 OpenReparsePoint = 0x00200000 ,
108108 PosixSemantics = 0x01000000 ,
109- BackupDemantics = 0x02000000 ,
109+ BackupSemantics = 0x02000000 ,
110110 DeleteOnClose = 0x04000000 ,
111111 SequentialScan = 0x08000000 ,
112112 RandomAccess = 0x10000000 ,
@@ -1018,6 +1018,13 @@ internal static extern bool EnumServicesStatusEx(
10181018 string pszGroupName
10191019 ) ;
10201020
1021+ [ DllImport ( "Advapi32.dll" , SetLastError = true , CharSet = CharSet . Unicode ) ]
1022+ internal static extern bool StartService (
1023+ SafeServiceHandle hService ,
1024+ int dwNumServiceArgs ,
1025+ [ MarshalAs ( UnmanagedType . LPArray ) ] string [ ] lpServiceArgVectors
1026+ ) ;
1027+
10211028 [ DllImport ( "kernel32.dll" , SetLastError = true ) ]
10221029 internal static extern bool InitializeProcThreadAttributeList (
10231030 IntPtr lpAttributeList ,
You can’t perform that action at this time.
0 commit comments