GET_DISK_ATTRIBUTES structure (winioctl.h)
Contains the attributes of a disk device. Returned as the output buffer from the IOCTL_DISK_GET_DISK_ATTRIBUTES control code.
Syntax
typedef struct _GET_DISK_ATTRIBUTES {
DWORD Version;
DWORD Reserved1;
DWORDLONG Attributes;
} GET_DISK_ATTRIBUTES, *PGET_DISK_ATTRIBUTES;
Members
Version
Set to sizeof(GET_DISK_ATTRIBUTES)
.
Reserved1
Reserved.
Attributes
Contains attributes.
Value | Meaning |
---|---|
|
The disk is offline. |
|
The disk is read-only. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | winioctl.h (include Windows.h) |