Sorry for my English. I want to enumerate all pointers to the DEVICE_OBJECT's in the system. I know that this can be done from the user mode, but I forgot. May be with helping of ZwQueryDirectiryObject or SetupAPI..?
You can use NtQueryDirectoryObject
, but that doesn't give you pointers to the DEVICE_OBJECT
s. Try opening the device objects and then enumerating handles using NtQuerySystemInformation
to get the pointers.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.