Solved

How to get full path of a registry key depending on registry handle like HKEY hKey

Posted on 2002-07-10
4
1,468 Views
Last Modified: 2008-03-17
Hi,all
The question is , I have a registry key handle, HKEY hKey,
how to get the full path of this hKey?

the full path is like this:

HKEY_LOCAL_MACHINE/Software/Microsoft/......

and the hKey is retrieved by some registry API like RegOpenKeyEx(..)
0
Comment
Question by:greensleeve
4 Comments
 
LVL 12

Expert Comment

by:pjknibbs
Comment Utility
I don't think this is possible, but since you presumably created this registry key handle in the first place, how come you've forgotten what it points at?
0
 
LVL 2

Accepted Solution

by:
Serega earned 50 total points
Comment Utility
See MSDN for API function  RegQueryInfoKey
0
 
LVL 11

Expert Comment

by:griessh
Comment Utility
Dear greensleeve

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "Serega"

comment(s) as an answer.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 6

Expert Comment

by:Mindphaser
Comment Utility
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now