Using Win32 functions in Visual FoxPro Image Gallery
File System
..msdn
DeleteVolumeMountPoint
FindFirstVolume
FindFirstVolumeMountPoint
FindNextVolume
FindNextVolumeMountPoint
FindVolumeClose
FindVolumeMountPointClose
GetCompressedFileSize
GetDiskFreeSpace
GetDiskFreeSpaceEx
GetFileSize
GetFileSizeEx
GetLogicalDrives
GetLogicalDriveStrings
GetVolumeInformation
GetVolumeNameForVolumeMountPoint
GetVolumePathNamesForVolumeName
SetVolumeLabel
SetVolumeMountPoint
Code examples:
Setting the volume label
SetVolumeLabel
..msdn    Add comment     W32 Constants      Translate this page
The SetVolumeLabel function sets the label of a file system volume.
Code examples:
Setting the volume label
Declaration:
BOOL SetVolumeLabel(
  LPCTSTR lpRootPathName,  // name of volume root directory 
  LPCTSTR lpVolumeName     // name for the volume
);
FoxPro declaration:
DECLARE INTEGER SetVolumeLabel IN kernel32;
    STRING lpRootPathName,;
    STRING lpVolumeName
Parameters:
lpRootPathName
[in] Pointer to a null-terminated string specifying the root directory of a file system volume.

lpVolumeName
[in] Pointer to a string specifying a name for the volume.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
There is no GetVolumeLabel API function. Function GetVolumeInformation retrieves information about a file system and volume whose root directory is specified.
Word Index links for the SetVolumeLabel :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-09-18 12:00:00
Modified: 2003-05-06 10:42:56
Visited in last 7 days: 17
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.81.178.153)
12 sec.Function: 'GetCurrencyFormat'
23 sec.Function: 'OpenSemaphore'
33 sec.
Function group: 'MSHTML Reference'
44 sec.Function: 'GdipGetPropertyCount'
54 sec.Function: 'midiOutClose'
1.08 min.Function: 'SHEnumKeyEx'
1.27 min.Function: 'ChangeClipboardChain'
1.48 min.Function: 'CreateDesktop'
1.67 min.Function: 'CeSeekDatabase'
1.87 min.Function: 'SQLDrivers'
Google
Advertise here!