?
Solved

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

Posted on 2002-07-10
4
Medium Priority
?
1,570 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 12

Expert Comment

by:pjknibbs
ID: 7145362
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 200 total points
ID: 7145511
See MSDN for API function  RegQueryInfoKey
0
 
LVL 11

Expert Comment

by:griessh
ID: 7375954
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
ID: 7419800
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
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.

777 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