예제 #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);
예제 #2
0
 private static extern SafeProcessHandle ExternOpenProcess(
     ProcessSecurityAndAccessRights dwDesiredAccess,
     [MarshalAs(UnmanagedType.Bool)] bool bInheritHandle,
     uint dwProcessId);
예제 #3
0
 /// <inheritdoc />
 public SafeProcessHandle OpenProcess(ProcessSecurityAndAccessRights dwDesiredAccess, bool bInheritHandle, uint dwProcessId)
 => throw new NotImplementedException();
예제 #4
0
 /// <inheritdoc />
 public SafeProcessHandle OpenProcess(ProcessSecurityAndAccessRights dwDesiredAccess, bool bInheritHandle, uint dwProcessId)
 => ExternOpenProcess(dwDesiredAccess, bInheritHandle, dwProcessId);