Beispiel #1
0
 /// <summary>
 /// Opens an existing local process object.
 /// </summary>
 /// <inheritdoc />
 public static SafeProcessHandle OpenProcess(ProcessSecurityAndAccessRights dwDesiredAccess, bool bInheritHandle, uint dwProcessId)
 => s_nativeMethods.OpenProcess(dwDesiredAccess, bInheritHandle, dwProcessId);
 private static extern SafeProcessHandle ExternOpenProcess(
     ProcessSecurityAndAccessRights dwDesiredAccess,
     [MarshalAs(UnmanagedType.Bool)] bool bInheritHandle,
     uint dwProcessId);
Beispiel #3
0
 /// <inheritdoc />
 public SafeProcessHandle OpenProcess(ProcessSecurityAndAccessRights dwDesiredAccess, bool bInheritHandle, uint dwProcessId)
 => throw new NotImplementedException();
 /// <inheritdoc />
 public SafeProcessHandle OpenProcess(ProcessSecurityAndAccessRights dwDesiredAccess, bool bInheritHandle, uint dwProcessId)
 => ExternOpenProcess(dwDesiredAccess, bInheritHandle, dwProcessId);