Esempio n. 1
0
 public static unsafe extern bool CreateProcessW(
     string lpApplicationName,
     [In] StringBuilder lpCommandLine,
     SecurityAttributes *procSecAttrs,
     SecurityAttributes *threadSecAttrs,
     bool bInheritHandles,
     CreateProcessFlags dwCreationFlags,
     IntPtr lpEnvironment,
     string lpCurrentDirectory,
     ref StartupInfo lpStartupInfo,
     ref ProcessInformation lpProcessInformation
     );
Esempio n. 2
0
 static extern unsafe bool CreateProcessW(
     [MarshalAs(UnmanagedType.LPWStr)] string lpApplicationName,
     [MarshalAs(UnmanagedType.LPWStr)] string lpCommandLine,
     SecurityAttributes *lpProcessAttributes,
     SecurityAttributes *lpThreadAttributes,
     [MarshalAs(UnmanagedType.Bool)] bool inheritHandles,
     UInt32 flags,
     void *environment,
     [MarshalAs(UnmanagedType.LPWStr)] string lpCurrentDirectory,
     StartupInfoW *startupInfo,
     ProcessInformation *processInfo
     );
Esempio n. 3
0
 public static unsafe extern SafeJobObjectHandle CreateJobObjectW(
     [In] SecurityAttributes *lpJobAttributes,
     string lpName
     );
Esempio n. 4
0
 internal static unsafe extern SafeFileMappingHandle CreateFileMappingA(SafeFileObjectHandle fileHandle, [Optional] SecurityAttributes *securityAttributes, UInt32 flProtect, UInt32 dwMaximumSizeHigh, UInt32 dwMaximumSizeLow, [MarshalAs(UnmanagedType.LPStr)] string name);
Esempio n. 5
0
 internal static unsafe extern SafeJobHandle CreateJobObjectW(SecurityAttributes *securityAttributes, [MarshalAs(UnmanagedType.LPWStr)] string?jobName);
Esempio n. 6
0
 internal static extern unsafe SafeFileObjectHandle CreateFileW([MarshalAs(UnmanagedType.LPWStr)] string fileName, UInt32 desiredAccess, UInt32 shareMode, SecurityAttributes *securityAttributes, UInt32 creationDisposition, UInt32 flagsAndAttributes, SafeFileObjectHandle template);