2OOO, 13 November
NTSYSAPI NTSTATUS NTAPI
NtQueryInformationProcess(
IN HANDLE ProcessHandle, IN PROCESS_INFORMATION_CLASS ProcessInformationClass, OUT PVOID ProcessInformation, IN ULONG ProcessInformationLength, OUT PULONG ReturnLength );
Handle to process opened with PROCESS_QUERY_INFORMATION access.
See PROCESS_INFORMATION_CLASS.
Buffer for results.
Length of buffer. See PROCESS_INFORMATION_CLASS for additional information.
Number of bytes needed, if ProcessInformationLength was too small.