NtOpenProcess

[DllImport("ntdll.dll", ExactSpelling = true)]
[DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
public static extern unsafe NTSTATUS NtOpenProcess(
    HANDLE* ProcessHandle,
    uint DesiredAccess,
    OBJECT_ATTRIBUTES* ObjectAttributes,
    CLIENT_ID* ClientId);

PROCESS_ACCESS_RIGHTS

OBJECT_ATTRIBUTES

CLIENT_ID

Last updated