Top 10 Printer Driver for Mac | iPod Music Recovery | Photo Recovery Software | PPT to DVD Video | Video Cutter | Popup Killer Software
Home > Windows Registry Tips > Other Tips > How to retrieve data from Windows Registry

Windows Registry Tips





How to retrieve data from Windows Registry

RegistryBooster 2010 - You no longer need to guess! This free stability scan will help you clean, repair and optimize your system in an easy way.



How to retrieve data from Windows Registry

To retrieve data from the registry, an application typically enumerates the subkeys of a key until it finds a particular one and then retrieves data from the value or values associated with it.
An application can call the RegEnumKeyEx function to enumerate the subkeys of a given key.



Retrieving Data from the Registry

To retrieve detailed data about a particular subkey, an application can call the RegQueryInfoKey function. The RegGetKeySecurity function retrieves a copy of the security descriptor protecting a key.

An application can use the RegEnumValue function to enumerate the values for a given key, and RegQueryValueEx function to retrieve a particular value for a key. An application typically calls RegEnumValue to determine the value names and then RegQueryValueEx to retrieve the data for the names.

The RegQueryMultipleValues function retrieves the type and data for a list of value names associated with an open registry key. This function is useful for dynamic key providers because it assures consistency of data by retrieving multiple values in an atomic operation.

Because other applications can change the data in a registry value between the time your application can read a value and use it, you may need to ensure your application has the latest data. You can use the RegNotifyChangeKeyValue function to notify the calling thread when there are changes to the attributes or contents of a registry key, or if the key is deleted. The function signals an event object to notify the caller. If the thread that calls RegNotifyChangeKeyValue exits, the event is signaled and the monitoring of the registry key is stopped.

You can control or specify what changes should be reported through the use of a notify filter or flag. Usually, changes are reported by signaling an event that you specify to the function. Note that the RegNotifyChangeKeyValue function does not work with remote handles.

RegEnumKeyEx Function - Enumerates the subkeys of the specified open registry key. The function retrieves information about one subkey each time it is called.

RegQueryInfoKey Function - Retrieves information about the specified registry key.

RegGetKeySecurity Function - The RegGetKeySecurity function retrieves a copy of the security descriptor protecting the specified open registry key.

RegQueryMultipleValues Function - Retrieves the type and data for a list of value names associated with an open registry key.

RegNotifyChangeKeyValue Function - Notifies the caller about changes to the attributes or contents of a specified registry key.

RegQueryValueEx Function - Retrieves the type and data for the specified value name associated with an open registry key.

Optimize your Windows Registry


Other Tips

  • How to access registry on XP computer

    How to access registry on XP computer? You should make a backup of the entire Registry and a copy of the key name before you make that modification on Windows XP Registry . ...

    Add Time:07.09, 2008    Hits:12,411

  • Tweak your Windows Mobile registry: Best RegEdit

    Tweak your Windows Mobile registry: Best RegEdit Best RegEdit is an advanced tool for viewing and changing settings in your system registry on your Windows Mobile device. ...

    Add Time:08.25, 2008    Hits:5,014

  • Configure the Windows XP logon screen saver

    Configure the Windows XP logon screen saver If you ever work in a computer lab or an Internet cafe where systems regularly sit idle waiting for someone to log on, you know that Windows XP...

    Add Time:09.03, 2008    Hits:3,835

  • Automatically run a batch file when you open a Windows XP command prompt

    Automatically run a batch file when you open a Windows XP command prompt You probably run the same few commands each time you start using the command prompt in Windows XP. For example,...

    Add Time:09.03, 2008    Hits:3,781

  • How to activate the NumLock key when Windows starts

    How to activate the NumLock key when Windows starts Here shows you how to activate the NumLock key when Windows starts through registry. You can do this just by...

    Add Time:06.25, 2008    Hits:3,731

  • How do you open registry editor

    How do you open registry editor? What is the Windows Registry? The Windows registry is a central database of information needed to configure your computer system for...

    Add Time:07.09, 2008    Hits:3,203

  • How to display message before Logon

    How to display message before Logon? If you want to pop up a message box when Computer starts and before logon screen on Win9X or WinNT, then you can use this trick. Run...

    Add Time:08.25, 2008    Hits:2,990

  • Oracle database service startup process stops responding

    Oracle database service startup process stops responding After you install the MS04-011 Security Update for Microsoft Windows on a computer that runs Oracle...

    Add Time:09.05, 2008    Hits:2,039

  • How to Open the Windows Registry Editor

    How to Open the Windows Registry Editor? To edit the Windows registry , you will need to open Regedit, the Windows Registry Editor. Be sure to read the warnings below before using...

    Add Time:07.08, 2008    Hits:2,021

  • How to power down the computer after shutdown

    How to power down the computer after shutdown Power down the computer after shutdown through registry. You can do this just by setting different value of the certain...

    Add Time:06.25, 2008    Hits:1,893





Copyrright (c) 2001~2009 DownloadAtoZ.com We provide 100,000+ software programs for free download. Your best choice of software reviews & downloads.