# Function Reference

# _WinAPI_DeleteVolumeMountPoint

Deletes a drive letter or mounted folder

#include <WinAPIFiles.au3>
_WinAPI_DeleteVolumeMountPoint ( $sMountedPath )

## Parameters

$sMountedPath | The drive letter or mounted folder to be deleted (for example, X:\ or Y:\MountX\).

## Return Value

Success: | True.
Failure: | False, call _WinAPI_GetLastError() to get extended error information

## Remarks

Deleting a mounted folder does not cause the underlying directory to be deleted.

## See Also

Search DeleteVolumeMountPoint in MSDN Library.