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)
SetVolumeMountPoint
..msdn    Add comment     W32 Constants      Translate this page
Mounts the specified volume at the specified volume mount point.
Code examples:
Enumerating Volumes and Volume Mounting Points (NTFS)
Declaration:
BOOL SetVolumeMountPoint(
    LPCTSTR lpszVolumeMountPoint,
    LPCTSTR lpszVolumeName
);

FoxPro declaration:
DECLARE INTEGER SetVolumeMountPoint IN kernel32;
    STRING lpszVolumeMountPoint,;
    STRING lpszVolumeName
Parameters:
lpszVolumeMountPoint
[in] Pointer to a string that indicates the volume mount point where the volume is to be mounted.

lpszVolumeName
[in] Pointer to a string that indicates the volume to be mounted.
Return value:
If the function succeeds, the return value is nonzero.
Usage:
* if successful, the E: becomes available through the directory on D:
* which acquires the Mounted Volume status.
SetVolumeMountPoint("d:\mnt\cddrive\", "E")
My comment:
Handle this function with care.

This function works similar to the MOUNTVOL.EXE utility -- creates, deletes, or lists a volume mount point.
MOUNTVOL [drive:]path VolumeName
MOUNTVOL [drive:]path /D
MOUNTVOL [drive:]path /L
MOUNTVOL [drive:]path /P
MOUNTVOL /R
MOUNTVOL /N
MOUNTVOL /E
Word Index links for the SetVolumeMountPoint :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2005-12-17 08:08:46
Modified: 2009-02-16 15:09:58
Visited in last 7 days: 10
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.158.212.93)
11 sec.Function: 'WNetGetLastError'
20 sec.Function: 'GetTcpStatistics'
31 sec.Example: 'Locking mouse and keyboard input for the VFP application'
43 sec.Function: 'GdipGetPropertyItemSize'
54 sec.Function: 'midiOutGetDevCaps'
1.1 min.Function: 'IsNetworkAlive'
1.3 min.Function: 'GetClipboardViewer'
1.47 min.Function: 'WinVerifyTrust'
1.67 min.Function: 'FlushFileBuffers'
1.85 min.Function: 'DocumentProperties'
Google
Advertise here!