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 |