Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1669
  • Last Modified:

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

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
greensleeve
Asked:
greensleeve
1 Solution
 
pjknibbsCommented:
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
 
SeregaCommented:
See MSDN for API function  RegQueryInfoKey
0
 
griesshCommented:
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
 
MindphaserCommented:
Force accepted

** Mindphaser - Community Support Moderator **
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now