No description available.
Specifies the attributes to be set on a disk device. Passed as the input buffer to the IOCTL_DISK_SET_DISK_ATTRIBUTES control code.
VersionSet to sizeof(GET_DISK_ATTRIBUTES).
PersistIf TRUE, these settings are persisted across reboots.
Reserved1Reserved. Must be set to FALSE (0).
AttributesSpecifies attributes.
| Value | Meaning |
|---|---|
| DISK_ATTRIBUTE_OFFLINE 0x0000000000000001 |
The disk is offline. |
| DISK_ATTRIBUTE_READ_ONLY 0x0000000000000002 |
The disk is read-only. |
AttributesMaskIndicates which attributes are being changed.
| Value | Meaning |
|---|---|
| DISK_ATTRIBUTE_OFFLINE 0x0000000000000001 |
The offline attribute is being changed. |
| DISK_ATTRIBUTE_READ_ONLY 0x0000000000000002 |
The read-only attribute is being changed. |
Reserved2Reserved. Must be set to 0.
IOCTL_DISK_SET_DISK_ATTRIBUTES