Skip to content

Latest commit

 

History

History
161 lines (111 loc) · 5.9 KB

ns-winioctl-storage_device_descriptor.md

File metadata and controls

161 lines (111 loc) · 5.9 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist f1_keywords dev_langs topic_type api_type api_location api_name
NS:winioctl._STORAGE_DEVICE_DESCRIPTOR
STORAGE_DEVICE_DESCRIPTOR
Used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY control code to retrieve the storage device descriptor data for a device.
*PSTORAGE_DEVICE_DESCRIPTOR
PSTORAGE_DEVICE_DESCRIPTOR
PSTORAGE_DEVICE_DESCRIPTOR structure pointer [Files]
STORAGE_DEVICE_DESCRIPTOR
STORAGE_DEVICE_DESCRIPTOR structure [Files]
fs.storage_device_descriptor
winioctl/PSTORAGE_DEVICE_DESCRIPTOR
winioctl/STORAGE_DEVICE_DESCRIPTOR
fs\storage_device_descriptor.htm
fs
f84f8a88-b6fc-4b22-b858-52955c8d537d
12/05/2018
*PSTORAGE_DEVICE_DESCRIPTOR, PSTORAGE_DEVICE_DESCRIPTOR, PSTORAGE_DEVICE_DESCRIPTOR structure pointer [Files], STORAGE_DEVICE_DESCRIPTOR, STORAGE_DEVICE_DESCRIPTOR structure [Files], fs.storage_device_descriptor, winioctl/PSTORAGE_DEVICE_DESCRIPTOR, winioctl/STORAGE_DEVICE_DESCRIPTOR
winioctl.h
Windows.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
STORAGE_DEVICE_DESCRIPTOR, *PSTORAGE_DEVICE_DESCRIPTOR
_STORAGE_DEVICE_DESCRIPTOR
winioctl/_STORAGE_DEVICE_DESCRIPTOR
PSTORAGE_DEVICE_DESCRIPTOR
winioctl/PSTORAGE_DEVICE_DESCRIPTOR
STORAGE_DEVICE_DESCRIPTOR
winioctl/STORAGE_DEVICE_DESCRIPTOR
c++
APIRef
kbSyntax
HeaderDef
WinIoCtl.h
STORAGE_DEVICE_DESCRIPTOR

STORAGE_DEVICE_DESCRIPTOR structure

-description

Used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY control code to retrieve the storage device descriptor data for a device.

-struct-fields

-field Version

Contains the size of this structure, in bytes. The value of this member will change as members are added to the structure.

-field Size

Specifies the total size of the descriptor, in bytes, which may include vendor ID, product ID, product revision, device serial number strings and bus-specific data which are appended to the structure.

-field DeviceType

Specifies the device type as defined by the Small Computer Systems Interface (SCSI) specification.

-field DeviceTypeModifier

Specifies the device type modifier, if any, as defined by the SCSI specification. If no device type modifier exists, this member is zero.

-field RemovableMedia

Indicates when TRUE that the device's media (if any) is removable. If the device has no media, this member should be ignored. When FALSE the device's media is not removable.

-field CommandQueueing

Indicates when TRUE that the device supports multiple outstanding commands (SCSI tagged queuing or equivalent). When FALSE, the device does not support SCSI-tagged queuing or the equivalent.

-field VendorIdOffset

Specifies the byte offset from the beginning of the structure to a null-terminated ASCII string that contains the device's vendor ID. If the device has no vendor ID, this member is zero.

-field ProductIdOffset

Specifies the byte offset from the beginning of the structure to a null-terminated ASCII string that contains the device's product ID. If the device has no product ID, this member is zero.

-field ProductRevisionOffset

Specifies the byte offset from the beginning of the structure to a null-terminated ASCII string that contains the device's product revision string. If the device has no product revision string, this member is zero.

-field SerialNumberOffset

Specifies the byte offset from the beginning of the structure to a null-terminated ASCII string that contains the device's serial number. If the device has no serial number, this member is zero.

-field BusType

Specifies an enumerator value of type STORAGE_BUS_TYPE that indicates the type of bus to which the device is connected. This should be used to interpret the raw device properties at the end of this structure (if any).

-field RawPropertiesLength

Indicates the number of bytes of bus-specific data that have been appended to this descriptor.

-field RawDeviceProperties

Contains an array of length one that serves as a place holder for the first byte of the bus specific property data.

-remarks

An application can determine the required buffer size by issuing a IOCTL_STORAGE_QUERY_PROPERTY control code passing a STORAGE_DESCRIPTOR_HEADER structure for the output buffer, and then using the returned Size member of the STORAGE_DESCRIPTOR_HEADER structure to allocate a buffer of the proper size.

-see-also

Disk Management Structures

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_ADAPTER_DESCRIPTOR

STORAGE_DESCRIPTOR_HEADER

STORAGE_DEVICE_DESCRIPTOR

STORAGE_DEVICE_ID_DESCRIPTOR