Undocumented functions of NTDLL

2OO4, 4 February


NtQueryObject
NtQueryObject

NTSYSAPI 
NTSTATUS
NTAPI

NtQueryObject(
IN HANDLE ObjectHandle, IN OBJECT_INFORMATION_CLASS ObjectInformationClass, OUT PVOID ObjectInformation, IN ULONG Length, OUT PULONG ResultLength );




Function NtQueryObject retrives some informations about any or all objects opened by calling process. It can be used with any type of object.
Requirements:
Library: ntdll.lib


See also:
NtSetInformationObject
OBJECT_INFORMATION_CLASS