Saturday, 24 August 2013

NTQueryObject - STATUS_INVALID_INFO_CLASS error

NTQueryObject - STATUS_INVALID_INFO_CLASS error

when using the Delphi code provided as answer on this page,
Delphi - get what files are opened by an application
I get nice results on Windows 8 but an error on XP in the provided
function "GetObjectInfo" : NTQueryObject called at line 4 is returning
STATUS_INVALID_INFO_CLASS (3221225475).
It seems that the class ObjectNameInformation is not a valid info class.
I use Delphi 7.
Any help ?

No comments:

Post a Comment