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:
Class library providing access to the System Registry
RegDeleteValue
..msdn    Add comment     W32 Constants      Translate this page
The RegDeleteValue function removes a named value from the specified registry key.
Code examples:
Class library providing access to the System Registry
Declaration:
LONG RegDeleteValue(
  HKEY hKey,
  LPCTSTR lpValueName
);
FoxPro declaration:
DECLARE INTEGER RegDeleteValue IN advapi32;
    INTEGER hKey,;
    STRING  lpValueName
Parameters:
hKey
[in] Handle to an open key.

lpValueName
[in] Pointer to a null-terminated string that names the value to remove.
Return value:
If the function succeeds, the return value is ERROR_SUCCESS (0).
My comment:
The key must have been opened with the KEY_SET_VALUE access right.

hKey handle is returned by the RegCreateKeyEx or RegOpenKeyEx function, or it can be one of the following predefined keys:
HKEY_CLASSES_ROOT
HKEY_CURRENT_CONFIG
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS

If lpValueName parameter is NULL or an empty string, the value set by the RegSetValue function is removed.
Word Index links for the RegDeleteValue :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-10-18 19:49:22
Modified: 2004-10-18 19:52:08
Visited in last 7 days: 18
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.91.171.137)
4 sec.Function: 'CreateDirectory'
7 sec.
Function group: 'Bitmap'
12 sec.Function: 'getprotobynumber'
17 sec.Function: 'DeleteFileTransacted'
22 sec.Function: 'GdipCreateTexture'
26 sec.Function: 'waveInStart'
30 sec.
Function group: 'Dynamic-Link Library'
35 sec.Function: 'WNetConnectionDialog1'
39 sec.Function: 'FindFirstUrlCacheGroup'
44 sec.Function: 'SCardIsValidContext'
Google
Advertise here!