Ask the Expert

What does HKEY mean or stand for?

What does HKEY mean or stand for? Where did Microsoft get this?

Requires Free Membership to View

HKEY stands for "Handle to Registry Key" and is a typedef supplied in the Windows headers files. The Window architects use the opaque handle scheme that most operating systems use. When requesting resources from the operating system, you are given a "handle" or cookie that represents the real object. In order to protect the internals from changes, the handle is not the actual data. The folks working on the registry system happened to want to differentiate a handle returned from the registry from one returned from CreateFile, for example. Therefore, they called it HKEY.

This was first published in December 2001

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: