Group: File System - Library: kernel32
Enumerating Volumes and Volume Mounting Points (NTFS)
BOOL DeleteVolumeMountPoint(
LPCTSTR lpszVolumeMountPoint
);
DECLARE INTEGER DeleteVolumeMountPoint IN kernel32;
STRING lpszVolumeMountPoint
lpszVolumeMountPoint [in] Pointer to a string that indicates the volume mount point to be unmounted.
If the function succeeds, the return value is nonzero.
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.