Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.09 KB

DeleteVolumeMountPoint.md

File metadata and controls

50 lines (32 loc) · 1.09 KB

Home

Function name : DeleteVolumeMountPoint

Group: File System - Library: kernel32


Unmounts the volume from the specified volume mount point.


Code examples:

Enumerating Volumes and Volume Mounting Points (NTFS)

Declaration:

BOOL DeleteVolumeMountPoint(
	LPCTSTR lpszVolumeMountPoint
);
  

FoxPro declaration:

DECLARE INTEGER DeleteVolumeMountPoint IN kernel32;
	STRING lpszVolumeMountPoint  

Parameters:

lpszVolumeMountPoint [in] Pointer to a string that indicates the volume mount point to be unmounted.


Return value:

If the function succeeds, the return value is nonzero.


Comments:

The lpszVolumeMountPoint may be a root directory (X:, in which case the DOS drive letter assignment is removed) or a directory on a volume (X:\mnt). A trailing backslash is required.

Handle with care.