Group: File System - Library: kernel32
Enumerating Volumes and Volume Mounting Points (NTFS)
BOOL SetVolumeMountPoint(
LPCTSTR lpszVolumeMountPoint,
LPCTSTR lpszVolumeName
);
DECLARE INTEGER SetVolumeMountPoint IN kernel32;
STRING lpszVolumeMountPoint,;
STRING lpszVolumeName
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.
If the function succeeds, the return value is nonzero.
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