Undocumented functions of NTDLL

2OO2, 8 April


SYSTEM_PROCESS_INFORMATION
SYSTEM_PROCESS_INFORMATION

typedef struct _SYSTEM_PROCESS_INFORMATION {

ULONG NextEntryOffset; ULONG NumberOfThreads; LARGE_INTEGER Reserved[3]; LARGE_INTEGER CreateTime; LARGE_INTEGER UserTime; LARGE_INTEGER KernelTime; UNICODE_STRING ImageName; KPRIORITY BasePriority; HANDLE ProcessId; HANDLE InheritedFromProcessId; ULONG HandleCount; ULONG Reserved2[2]; ULONG PrivatePageCount; VM_COUNTERS VirtualMemoryCounters; IO_COUNTERS IoCounters; SYSTEM_THREAD Threads[0]; } SYSTEM_PROCESS_INFORMATION, *PSYSTEM_PROCESS_INFORMATION;




Structure SYSTEM_PROCESS_INFORMATION contains list of processes and threads and it's avaiable via NtQuerySystemInformation function with SystemProcessInformation information class.




Requirements:
Library: ntdll.lib


See also:
NtQuerySystemInformation
SYSTEM_INFORMATION_CLASS
SYSTEM_THREAD