Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1232)

Unified Diff: util/win/nt_internals.h

Issue 1400413002: win: Add Handles() to ProcessInfo (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: rebase Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | util/win/nt_internals.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/win/nt_internals.h
diff --git a/util/win/nt_internals.h b/util/win/nt_internals.h
index 4743c4348dedfe3dc70e5cba498f5aba52a468f2..aab884f54cc4c43ecdb101a742fd126e472d2152 100644
--- a/util/win/nt_internals.h
+++ b/util/win/nt_internals.h
@@ -27,6 +27,9 @@ namespace crashpad {
// winternal.h defines THREADINFOCLASS, but not all members.
enum { ThreadBasicInformation = 0 };
+// winternal.h defines SYSTEM_INFORMATION_CLASS, but not all members.
+enum { SystemExtendedHandleInformation = 64 };
+
NTSTATUS NtQuerySystemInformation(
SYSTEM_INFORMATION_CLASS system_information_class,
PVOID system_information,
@@ -45,4 +48,10 @@ NTSTATUS NtOpenThread(PHANDLE thread_handle,
POBJECT_ATTRIBUTES object_attributes,
const process_types::CLIENT_ID<Traits>* client_id);
+NTSTATUS NtQueryObject(HANDLE handle,
+ OBJECT_INFORMATION_CLASS object_information_class,
+ void* object_information,
+ ULONG object_information_length,
+ ULONG* return_length);
+
} // namespace crashpad
« no previous file with comments | « no previous file | util/win/nt_internals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698