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:
Enumerating Volumes and Volume Mounting Points (NTFS)
FindFirstVolume
..msdn    Add comment     W32 Constants      Translate this page
Returns the name of a volume on a computer. This call is used to begin scanning the volumes of a computer.
Code examples:
Enumerating Volumes and Volume Mounting Points (NTFS)
Declaration:
HANDLE FindFirstVolume(
    LPTSTR lpszVolumeName,
    DWORD cchBufferLength
);

FoxPro declaration:
DECLARE INTEGER FindFirstVolume IN kernel32;
    STRING lpszVolumeName,;
    LONG cchBufferLength

Parameters:
lpszVolumeName
[out] Pointer to a buffer that receives a null-terminated string that specifies the unique volume name of the first volume found.

cchBufferLength
[in] Length of the buffer to receive the name, in TCHARs.
Return value:
If the function fails to find any volumes, the return value is the INVALID_HANDLE_VALUE error code.
My comment:
If the function succeeds, the return value is a search handle used in a subsequent call to the FindNextVolume and FindVolumeClose functions.

See also: FindFirstVolumeMountPoint, GetVolumeInformation
Word Index links for the FindFirstVolume :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2005-12-15 10:45:55
Modified: 2005-12-15 10:49:23
Visited in last 7 days: 13
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.81.237.159)
14 sec.Function: 'AllocConsole'
26 sec.Function: 'GetMenuContextHelpId'
37 sec.Function: 'CreatePipe'
49 sec.Function: 'GdipCreateTexture'
1.02 min.Function: 'BitBlt'
1.18 min.Function: 'CryptEnumProviders'
1.38 min.Function: 'GetBestInterface'
1.58 min.Function: 'CopyFileTransacted'
1.8 min.Function: 'CM_Connect_Machine'
2.03 min.
Function group: 'Font and Text'
Google
Advertise here!