Problem with getting object name

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I enumerate all objects from kernel mode using ZwQuerySystemInformation with
SystemInformationClass = SystemHandleInformation, and when i try to obtain
name of object, function ObQueryNameString fails. What can be the reason of
this?






.