GET_DISK_ATTRIBUTES - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// winioctl.h

typedef struct _GET_DISK_ATTRIBUTES {
  DWORD     Version;
  DWORD     Reserved1;
  DWORDLONG Attributes;
} GET_DISK_ATTRIBUTES, *PGET_DISK_ATTRIBUTES;
View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (ns-winioctl-get_disk_attributes)

GET_DISK_ATTRIBUTES structure

Description

Contains the attributes of a disk device. Returned as the output buffer from the IOCTL_DISK_GET_DISK_ATTRIBUTES control code.

Members

Version

Set to sizeof(GET_DISK_ATTRIBUTES).

Reserved1

Reserved.

Attributes

Contains attributes.

Value Meaning
DISK_ATTRIBUTE_OFFLINE

0x0000000000000001
The disk is offline.
DISK_ATTRIBUTE_READ_ONLY

0x0000000000000002
The disk is read-only.

See also

Disk Management Structures

IOCTL_DISK_GET_DISK_ATTRIBUTES

SET_DISK_ATTRIBUTES