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
RegSetValueEx
..msdn    Add comment     W32 Constants      Translate this page
The RegSetValueEx function sets the data and type of a specified value under a registry key.
Code examples:
Class library providing access to the System Registry
Declaration:
LONG RegSetValueEx(
  HKEY hKey,
  LPCTSTR lpValueName,
  DWORD Reserved,
  DWORD dwType,
  const BYTE* lpData,
  DWORD cbData
);

FoxPro declaration:
DECLARE INTEGER RegSetValueEx IN advapi32;
    INTEGER   hKey,;
    STRING    lpValueName,;
    INTEGER   Reserved,;
    INTEGER   dwType,;
    STRING  @ lpData,;
    INTEGER   cbData

Parameters:
hKey
[in] Handle to an open key.

lpValueName
[in] Pointer to a string containing the name of the value to set.

Reserved
Reserved; must be zero.

dwType
[in] Type of data pointed to by the lpData parameter.

lpData
[in] Pointer to a buffer containing the data to be stored with the specified value name.

cbData
[in] Size of the information pointed to by the lpData parameter, in bytes.
Return value:
If the function succeeds, the return value is ERROR_SUCCESS (0).
My comment:
See also RegCreateKeyEx, RegFlushKey, RegOpenKeyEx, RegQueryValueEx.
Word Index links for the RegSetValueEx :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-10-25 16:01:16
Modified: 2004-10-25 16:03:20
Visited in last 7 days: 12
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.224.197.86)
13 sec.Function: 'SetProcessPreferredUILanguages'
28 sec.Function: 'SwitchToThisWindow'
43 sec.Function: 'mixerGetNumDevs'
57 sec.Function: 'InternetConnect'
1.2 min.Function: 'GetObjectType'
1.43 min.Function: 'HttpSendRequest'
1.7 min.Function: 'GetTempPath'
1.95 min.Function: 'mmioAscend'
Google
Advertise here!