This topic has not yet been rated - Rate this topic

GET_DISK_ATTRIBUTES structure

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.

ValueMeaning
DISK_ATTRIBUTE_OFFLINE
0x0000000000000001

The disk is offline.

DISK_ATTRIBUTE_READ_ONLY
0x0000000000000002

The disk is read-only.

 

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

WinIoCtl.h (include Windows.h)

See also

Disk Management Structures
IOCTL_DISK_GET_DISK_ATTRIBUTES
SET_DISK_ATTRIBUTES

 

 

Send comments about this topic to Microsoft

Build date: 4/16/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.