ide is VS
windows 11 x64
i use IUIAutomationTreeWalker to traverse the tree
enter image description here
enter image description here
main:
main
example output
example
i was tring to build an exe that work quite similar to inspect.exe in windows kits,my first step is to print the infomation of the window where your mouse is.
the weird part is that when i put my mouse on the desktop or a direcory ,everything went well,but when i put it on the window of other software,name is correct, RECT and handle are 0
by the way,everything is normal on inspect.exe,there are no zero handle
user20730475 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.