Given a handle to a Windows Registry Key, such as the ones that are set by ::RegOpenKeyEx(), is it possible to determine the full path to that key?
I realize that in a simple application all you have to do is look up 5 or 10 lines and read… but in a complex app like the one I’m debugging, the key I’m interested in can be opened from a series of calls.
Use
LoadLibraryandNtQueryKeyexported function as in the following code snippet.This will print the key path on the console: