package
0.0.0-20240809131335-b54f62d194e4
Repository: https://github.com/jimbertools/volmgmt.git
Documentation: pkg.go.dev
# Functions
GetVolumeInformationByHandle retrieves information about the volume represented by the given system handle.
GetVolumeNameForVolumeMountPoint retrieves the first volume name for the given mount point, which is a path in one of the following forms:
X:\ Y:\MountX\
Volume names are also known as volume GUID paths, and are based on the globally unique identifier of the volume.
GetVolumePathNamesForVolumeName returns a complete set of volume paths and mount points for the given volume name, which must be a volume GUID path of this form:
\\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\.
Handle attempts to acquire a system handle for the volume represented by path (or upon which path is mounted).
MountPoint attempts to find the volume mount point for s.
# Constants
ErrMoreData indicates that a buffer was too small to hold the data that is to be recieved.
MaxFileSystemNameLength is the maximum number of characters in a file system name.
MaxVolumeLabelLength is the maximum number of characters in a volume label.
MaxVolumeNameLength is the maximum number of characters in a volume name.