// ehstorbandmgmt.h
typedef struct _BAND_MANAGEMENT_CAPABILITIES {
ULONG StructSize;
ULONG Capabilities;
ULONGLONG KeyProtectionMechanism;
ULONG MinAuthKeyLength;
ULONG MaxAuthKeyLength;
ULONG MaxBandCount;
ULONG MaxSimultaneousReencryptionCount;
ULONG BandMetadataSize;
} BAND_MANAGEMENT_CAPABILITIES, *PBAND_MANAGEMENT_CAPABILITIES;
View the official Windows Driver Kit DDI referenceNo description available.
The BAND_MANAGEMENT_CAPABILITIES structure contains the security capabilities available for a storage device. This structure is returned in the system buffer by the IOCTL_EHSTOR_BANDMGMT_QUERY_CAPABILITIES request.
StructSizeThe size of this structure in bytes. Set to sizeof(BAND_MANAGEMENT_CAPABILITIES).
CapabilitiesSecurity capability flags for a storage device. This is a bitwise OR value of the following flags.
| Value | Meaning |
|---|---|
| CAPS_ACTIVATED | If set, the capability members of this structure are available. Otherwise, the remaining members of this structure are not valid. |
| CAPS_BANDCROSSING_SUPPORTED | The storage device supports reads and writes across multiple bands. If this flag is not set, single reads or writes spanning multiple bands are divided into multiple IO requests for a device. |
| CAPS_SID_SECURED | SID authority is secured. If set, the default SID pin cannot be used to modify the security configuration of the storage device. |
KeyProtectionMechanismThe mechanism used to protect the media keys. This member is set to one of the following.
| Value | Meaning |
|---|---|
| 0 | Keys are not protected. |
| MEDIAKEY_PROTECTEDBY_VENDORSCHEME | Keys are protected by a vendor-supplied method. Do not use. This option is not supported. |
| MEDIAKEY_PROTECTEDBY_AUTHKEY | Keys are encrypted by keys derived from band authentication keys. Key derivation results in negligible entropy loss from the band authentication data. |
MinAuthKeyLengthThe minimum length, in bytes, of the band authentication or erase keys accepted by the storage device.
MaxAuthKeyLengthThe maximum length, in bytes, of the band authentication or erase keys accepted by the storage device.
MaxBandCountThe maximum number of simultaneous bands configured in the storage device. This includes the global band.
MaxSimultaneousReencryptionCountThe number of simultaneous band re-encryptions the hardware on the device supports. If this member is 0, hardware-driven band re-encryptions are not supported.
BandMetadataSizeThe size, in bytes, of the per band metadata store.
If CAPS_ACTIVATED is not set in Capabilities, security functionality can be activated with the IOCTL_EHSTOR_BANDMGMT_ACTIVATE request.
IOCTL_EHSTOR_BANDMGMT_ACTIVATE
IOCTL_EHSTOR_BANDMGMT_QUERY_CAPABILITIES