diff options
-rw-r--r-- | include/ntapi/nt_sysinfo.h | 44 |
1 files changed, 35 insertions, 9 deletions
diff --git a/include/ntapi/nt_sysinfo.h b/include/ntapi/nt_sysinfo.h index aa6cb6e..c941a0b 100644 --- a/include/ntapi/nt_sysinfo.h +++ b/include/ntapi/nt_sysinfo.h @@ -353,18 +353,44 @@ typedef struct _nt_system_threads { typedef struct _nt_system_processes { uint32_t next_entry_delta; uint32_t thread_count; - uint32_t reserved_1st[6]; - nt_large_integer create_time; - nt_large_integer user_time; - nt_large_integer kernel_time; + uintptr_t reserved_1st[6]; + nt_unicode_string process_name; uint32_t base_priority; - uint32_t process_id; - uint32_t inherited_from_process_id; + + uintptr_t process_id; + uintptr_t inherited_from_process_id; + uint32_t handle_count; - uint32_t reserved_2nd[2]; - nt_vm_counters vm_counters; - nt_io_counters io_counters; + uint32_t session_id; + + void * reserved_2nd; + size_t peak_virtual_size; + size_t virtual_size; + + + void * reserved_3rd; + size_t peak_working_set_size; + size_t working_set_size; + + void * reserved_4th; + size_t quota_paged_pool_usage; + + void * reserved_5th; + size_t quota_non_paged_pool_usage; + + size_t pagefile_usage; + size_t peak_pagefile_usage; + size_t private_page_count; + + nt_large_integer create_time; + nt_large_integer user_time; + nt_large_integer kernel_time; + + nt_large_integer reserved_7th; + nt_large_integer reserved_8th; + nt_large_integer reserved_9th; + nt_system_threads threads[]; } nt_system_processes; |