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:
Writing to INI file
WritePrivateProfileSection
..msdn    Add comment     W32 Constants      Translate this page
Replaces the keys and values for the specified section in an initialization file.
Code examples:
Writing to INI file
Declaration:
BOOL WritePrivateProfileSection(
  LPCTSTR lpAppName,  // section name
  LPCTSTR lpString,   // data
  LPCTSTR lpFileName  // file name
);
FoxPro declaration:
DECLARE WritePrivateProfileSection IN kernel32;
    STRING lpAppName,;
    STRING lpString,;
    STRING lpFileName
Parameters:
lpAppName
[in] Pointer to a null-terminated string specifying the name of the section in which data is written.

lpString
[in] Pointer to a buffer containing the new key names and associated values that are to be written to the named section.

lpFileName
[in] Pointer to a null-terminated string containing the name of the initialization file.
Return value:
If the function succeeds, the return value is nonzero.
Word Index links for the WritePrivateProfileSection :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-09-04 12:00:00
Modified: 2001-11-26 16:03:35
Visited in last 7 days: 19
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.224.43.96)
17 sec.Function: 'TrackPopupMenuEx'
1.83 min.Function: 'SetupGetInfFileList'
2.15 min.Function: 'waveOutGetVolume'
2.47 min.Function: 'SwapMouseButton'
3.27 min.Function: 'Sleep'
4.78 min.Function: 'SetWindowLong'
5.28 min.Function: 'waveOutSetVolume'
6 day(s)Function: 'FindMediaType'
 Function: 'CoTaskMemFree'
 Function: 'SetVolumeLabel'
Google
Advertise here!