Using Win32 functions in Visual FoxPro Image Gallery
Registry
..msdn
GetPrivateProfileSectionNames
GetPrivateProfileString
GetProfileString
RegCloseKey
RegCreateKeyEx
RegDeleteKey
RegDeleteValue
RegEnumKey
RegEnumKeyEx
RegEnumValue
RegOpenKeyEx
RegQueryInfoKey
RegQueryValueEx
RegSaveKey
RegSetValueEx
SHEnumKeyEx
SHRegCloseUSKey
SHRegEnumUSKey
SHRegOpenUSKey
WritePrivateProfileSection
WritePrivateProfileString
Code examples:
Enumerating the subkeys of a user-specific key
SHRegOpenUSKey
..msdn    Add comment     W32 Constants      Translate this page
Opens a user-specific registry key.
Code examples:
Enumerating the subkeys of a user-specific key
Declaration:
LONG SHRegOpenUSKey(
    LPCTSTR  pszPath,
    REGSAM   samDesired,
    HUSKEY   hRelativeUSKey,
    PHUSKEY  phNewUSKey,
    BOOL     fIgnoreHKCU
    );

FoxPro declaration:
DECLARE INTEGER SHRegOpenUSKey IN shlwapi;
       STRING    pszPath,;
       INTEGER   samDesired,;
       INTEGER   hRelativeUSKey,;
       INTEGER @ phNewUSKey,;
       SHORT     fIgnoreHKCU
Parameters:
pszPath
[in] Pointer to a null-terminated string with the name of the subkey.

samDesired
[in] Desired security access. For more information on security access, see REGSAM.

hRelativeUSKey
[in] Key to be used as a base for relative paths.

phNewUSKey
[out] Pointer to the handle of the opened key.

fIgnoreHKCU
[in] Variable that specifies which key to look under. When set to TRUE, SHRegGetUSValue ignores HKCU and returns a value from HKLM.
Return value:
Returns 0 (ERROR_SUCCESS) if successful, or a nonzero error code defined in Winerror.h otherwise.
Word Index links for the SHRegOpenUSKey :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-09-02 12:00:00
Modified: 2001-11-26 16:03:31
Visited in last 7 days: 22
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Google
Advertise here!