package
0.0.0-20240809131335-b54f62d194e4
Repository: https://github.com/jimbertools/volmgmt.git
Documentation: pkg.go.dev

# Functions

GetDeviceNumber retrieves the device numbering of the storage device represented by the provided handle.
QueryAccessAlignment retrieves the access alignment descriptor of the storage device represented by the provided handle.
QueryDeviceDescriptor retrieves the device descriptor of the storage device represented by the provided handle.
QueryProperty is a low level API call that retrieves many different kinds of storage device properties.

# Constants

PartitionNotAvailable is the partition number returned for devices that do not have partitions.
1.
2.
3.
0.
6 StorageAccessAlignmentProperty.
53 StorageAdapterPhysicalTopologyProperty.
1 StorageAdapterProperty.
49 StorageAdapterProtocolSpecificProperty.
51 StorageAdapterTemperatureProperty.
55 StorageDeviceAttributesProperty.
13 StorageDeviceCopyOffloadProperty.
10 StorageDeviceDeviceTelemetryProperty.
2 StorageDeviceIdProperty.
48 StorageDeviceIoCapabilityProperty.
11 StorageDeviceLBProvisioningProperty.
15 StorageDeviceMediumProductType.
54 StorageDevicePhysicalTopologyProperty.
12 StorageDevicePowerProperty.
0 StorageDeviceProperty.
50 StorageDeviceProtocolSpecificProperty.
14 StorageDeviceResiliencyProperty.
7 StorageDeviceSeekPenaltyProperty.
52 StorageDeviceTemperatureProperty.
8 StorageDeviceTrimProperty.
3 StorageDeviceUniqueIdProperty.
9 StorageDeviceWriteAggregationProperty.
4 StorageDeviceWriteCacheProperty.
5 StorageMiniportProperty.

# Structs

AccessAlignmentDescriptor describes the byte alignment characteristics of a storage device.
DeviceDescriptor describes a storage device.
DeviceNumber describes the device type and device number of storage devices, and can be used to construct the physical address of mass storage devices and logical volumes.
PropertyQuery is used internally in calls to query storage devices.
RawDeviceDescriptor is used internally for system calls that query storage device descriptors.
RawDeviceDescriptorHeader is used internally for system calls that query storage device descriptors.