ReactOS  0.4.13-dev-544-gede3fdd
ntddstor.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _STORAGE_HOTPLUG_INFO
 
struct  _STORAGE_DEVICE_NUMBER
 
struct  _STORAGE_BUS_RESET_REQUEST
 
struct  _STORAGE_BREAK_RESERVATION_REQUEST
 
struct  _PREVENT_MEDIA_REMOVAL
 
struct  _CLASS_MEDIA_CHANGE_CONTEXT
 
struct  _TAPE_STATISTICS
 
struct  _TAPE_GET_STATISTICS
 
struct  _DEVICE_MEDIA_INFO
 
struct  _GET_MEDIA_TYPES
 
struct  _STORAGE_PREDICT_FAILURE
 
struct  _STORAGE_PROPERTY_QUERY
 
struct  _STORAGE_MINIPORT_DESCRIPTOR
 
struct  _STORAGE_IDENTIFIER
 
struct  _DEVICE_SEEK_PENALTY_DESCRIPTOR
 
struct  _DEVICE_WRITE_AGGREGATION_DESCRIPTOR
 
struct  _DEVICE_TRIM_DESCRIPTOR
 
struct  _DEVICE_DATA_SET_RANGE
 
struct  _DEVICE_MANAGE_DATA_SET_ATTRIBUTES
 
struct  _DEVICE_DSM_NOTIFICATION_PARAMETERS
 
struct  _STORAGE_GET_BC_PROPERTIES_OUTPUT
 
struct  _STORAGE_ALLOCATE_BC_STREAM_INPUT
 
struct  _STORAGE_ALLOCATE_BC_STREAM_OUTPUT
 
struct  _STORAGE_PRIORITY_HINT_SUPPORT
 

Macros

#define IOCTL_STORAGE_BASE   FILE_DEVICE_MASS_STORAGE
 
#define IOCTL_STORAGE_CHECK_VERIFY   CTL_CODE(IOCTL_STORAGE_BASE, 0x0200, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_STORAGE_CHECK_VERIFY2   CTL_CODE(IOCTL_STORAGE_BASE, 0x0200, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_MEDIA_REMOVAL   CTL_CODE(IOCTL_STORAGE_BASE, 0x0201, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_STORAGE_EJECT_MEDIA   CTL_CODE(IOCTL_STORAGE_BASE, 0x0202, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_STORAGE_LOAD_MEDIA   CTL_CODE(IOCTL_STORAGE_BASE, 0x0203, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_STORAGE_LOAD_MEDIA2   CTL_CODE(IOCTL_STORAGE_BASE, 0x0203, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_RESERVE   CTL_CODE(IOCTL_STORAGE_BASE, 0x0204, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_STORAGE_RELEASE   CTL_CODE(IOCTL_STORAGE_BASE, 0x0205, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_STORAGE_FIND_NEW_DEVICES   CTL_CODE(IOCTL_STORAGE_BASE, 0x0206, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_STORAGE_EJECTION_CONTROL   CTL_CODE(IOCTL_STORAGE_BASE, 0x0250, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_MCN_CONTROL   CTL_CODE(IOCTL_STORAGE_BASE, 0x0251, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_GET_MEDIA_TYPES   CTL_CODE(IOCTL_STORAGE_BASE, 0x0300, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_GET_MEDIA_TYPES_EX   CTL_CODE(IOCTL_STORAGE_BASE, 0x0301, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_RESET_BUS   CTL_CODE(IOCTL_STORAGE_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_STORAGE_RESET_DEVICE   CTL_CODE(IOCTL_STORAGE_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_STORAGE_GET_DEVICE_NUMBER   CTL_CODE(IOCTL_STORAGE_BASE, 0x0420, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_PREDICT_FAILURE   CTL_CODE(IOCTL_STORAGE_BASE, 0x0440, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER   CTL_CODE(IOCTL_STORAGE_BASE, 0x0304, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_GET_HOTPLUG_INFO   CTL_CODE(IOCTL_STORAGE_BASE, 0x0305, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_SET_HOTPLUG_INFO   CTL_CODE(IOCTL_STORAGE_BASE, 0x0306, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define OBSOLETE_IOCTL_STORAGE_RESET_BUS   CTL_CODE(IOCTL_STORAGE_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define OBSOLETE_IOCTL_STORAGE_RESET_DEVICE   CTL_CODE(IOCTL_STORAGE_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_STORAGE_BREAK_RESERVATION   CTL_CODE(IOCTL_STORAGE_BASE, 0x0405, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_STORAGE_PERSISTENT_RESERVE_IN   CTL_CODE(IOCTL_STORAGE_BASE, 0x0406, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_STORAGE_PERSISTENT_RESERVE_OUT   CTL_CODE(IOCTL_STORAGE_BASE, 0x0407, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_STORAGE_READ_CAPACITY   CTL_CODE(IOCTL_STORAGE_BASE, 0x0450, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_STORAGE_QUERY_PROPERTY   CTL_CODE(IOCTL_STORAGE_BASE, 0x0500, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES   CTL_CODE(IOCTL_STORAGE_BASE, 0x0501, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_STORAGE_GET_BC_PROPERTIES   CTL_CODE(IOCTL_STORAGE_BASE, 0x0600, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_STORAGE_ALLOCATE_BC_STREAM   CTL_CODE(IOCTL_STORAGE_BASE, 0x0601, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_STORAGE_FREE_BC_STREAM   CTL_CODE(IOCTL_STORAGE_BASE, 0x0602, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_STORAGE_CHECK_PRIORITY_HINT_SUPPORT   CTL_CODE(IOCTL_STORAGE_BASE, 0x0620, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define RECOVERED_WRITES_VALID   0x00000001
 
#define UNRECOVERED_WRITES_VALID   0x00000002
 
#define RECOVERED_READS_VALID   0x00000004
 
#define UNRECOVERED_READS_VALID   0x00000008
 
#define WRITE_COMPRESSION_INFO_VALID   0x00000010
 
#define READ_COMPRESSION_INFO_VALID   0x00000020
 
#define TAPE_RETURN_STATISTICS   0L
 
#define TAPE_RETURN_ENV_INFO   1L
 
#define TAPE_RESET_STATISTICS   2L
 
#define MEDIA_ERASEABLE   0x00000001
 
#define MEDIA_WRITE_ONCE   0x00000002
 
#define MEDIA_READ_ONLY   0x00000004
 
#define MEDIA_READ_WRITE   0x00000008
 
#define MEDIA_WRITE_PROTECTED   0x00000100
 
#define MEDIA_CURRENTLY_MOUNTED   0x80000000
 
#define StorageIdTypeNAA   StorageIdTypeFCPHName
 
#define DeviceDsmActionFlag_NonDestructive   0x80000000
 
#define IsDsmActionNonDestructive(_Action)   ((BOOLEAN)((_Action & DeviceDsmActionFlag_NonDestructive) != 0))
 
#define DeviceDsmAction_None   0
 
#define DeviceDsmAction_Trim   1
 
#define DeviceDsmAction_Notification   (2 | DeviceDsmActionFlag_NonDestructive)
 
#define DEVICE_DSM_FLAG_ENTIRE_DATA_SET_RANGE   0x00000001
 
#define DEVICE_DSM_NOTIFY_FLAG_BEGIN   0x00000001
 
#define DEVICE_DSM_NOTIFY_FLAG_END   0x00000002
 
#define IOCTL_STORAGE_BC_VERSION   1
 
#define STORAGE_PRIORITY_HINT_SUPPORTED   0x0001
 
#define DEVICE_DSM_FLAG_TRIM_NOT_FS_ALLOCATED   0x80000000
 

Typedefs

typedef struct _STORAGE_HOTPLUG_INFO STORAGE_HOTPLUG_INFO
 
typedef struct _STORAGE_HOTPLUG_INFOPSTORAGE_HOTPLUG_INFO
 
typedef struct _STORAGE_DEVICE_NUMBER STORAGE_DEVICE_NUMBER
 
typedef struct _STORAGE_DEVICE_NUMBERPSTORAGE_DEVICE_NUMBER
 
typedef struct _STORAGE_BUS_RESET_REQUEST STORAGE_BUS_RESET_REQUEST
 
typedef struct _STORAGE_BUS_RESET_REQUESTPSTORAGE_BUS_RESET_REQUEST
 
typedef struct _STORAGE_BREAK_RESERVATION_REQUEST STORAGE_BREAK_RESERVATION_REQUEST
 
typedef struct _STORAGE_BREAK_RESERVATION_REQUESTPSTORAGE_BREAK_RESERVATION_REQUEST
 
typedef struct _PREVENT_MEDIA_REMOVAL PREVENT_MEDIA_REMOVAL
 
typedef struct _PREVENT_MEDIA_REMOVALPPREVENT_MEDIA_REMOVAL
 
typedef struct _CLASS_MEDIA_CHANGE_CONTEXT CLASS_MEDIA_CHANGE_CONTEXT
 
typedef struct _CLASS_MEDIA_CHANGE_CONTEXTPCLASS_MEDIA_CHANGE_CONTEXT
 
typedef struct _TAPE_STATISTICS TAPE_STATISTICS
 
typedef struct _TAPE_STATISTICSPTAPE_STATISTICS
 
typedef struct _TAPE_GET_STATISTICS TAPE_GET_STATISTICS
 
typedef struct _TAPE_GET_STATISTICSPTAPE_GET_STATISTICS
 
typedef enum _STORAGE_MEDIA_TYPE STORAGE_MEDIA_TYPE
 
typedef enum _STORAGE_MEDIA_TYPEPSTORAGE_MEDIA_TYPE
 
typedef enum _STORAGE_BUS_TYPE STORAGE_BUS_TYPE
 
typedef enum _STORAGE_BUS_TYPEPSTORAGE_BUS_TYPE
 
typedef struct _DEVICE_MEDIA_INFO DEVICE_MEDIA_INFO
 
typedef struct _DEVICE_MEDIA_INFOPDEVICE_MEDIA_INFO
 
typedef struct _GET_MEDIA_TYPES GET_MEDIA_TYPES
 
typedef struct _GET_MEDIA_TYPESPGET_MEDIA_TYPES
 
typedef struct _STORAGE_PREDICT_FAILURE STORAGE_PREDICT_FAILURE
 
typedef struct _STORAGE_PREDICT_FAILUREPSTORAGE_PREDICT_FAILURE
 
typedef enum _STORAGE_QUERY_TYPE STORAGE_QUERY_TYPE
 
typedef enum _STORAGE_QUERY_TYPEPSTORAGE_QUERY_TYPE
 
typedef enum _STORAGE_PROPERTY_ID STORAGE_PROPERTY_ID
 
typedef enum _STORAGE_PROPERTY_IDPSTORAGE_PROPERTY_ID
 
typedef struct _STORAGE_PROPERTY_QUERY STORAGE_PROPERTY_QUERY
 
typedef struct _STORAGE_PROPERTY_QUERYPSTORAGE_PROPERTY_QUERY
 
typedef enum _STORAGE_PORT_CODE_SET STORAGE_PORT_CODE_SET
 
typedef enum _STORAGE_PORT_CODE_SETPSTORAGE_PORT_CODE_SET
 
typedef struct _STORAGE_MINIPORT_DESCRIPTOR STORAGE_MINIPORT_DESCRIPTOR
 
typedef struct _STORAGE_MINIPORT_DESCRIPTORPSTORAGE_MINIPORT_DESCRIPTOR
 
typedef enum _STORAGE_IDENTIFIER_CODE_SET STORAGE_IDENTIFIER_CODE_SET
 
typedef enum _STORAGE_IDENTIFIER_CODE_SETPSTORAGE_IDENTIFIER_CODE_SET
 
typedef enum _STORAGE_IDENTIFIER_TYPE STORAGE_IDENTIFIER_TYPE
 
typedef enum _STORAGE_IDENTIFIER_TYPEPSTORAGE_IDENTIFIER_TYPE
 
typedef enum _STORAGE_ID_NAA_FORMAT STORAGE_ID_NAA_FORMAT
 
typedef enum _STORAGE_ID_NAA_FORMATPSTORAGE_ID_NAA_FORMAT
 
typedef enum _STORAGE_ASSOCIATION_TYPE STORAGE_ASSOCIATION_TYPE
 
typedef enum _STORAGE_ASSOCIATION_TYPEPSTORAGE_ASSOCIATION_TYPE
 
typedef struct _STORAGE_IDENTIFIER STORAGE_IDENTIFIER
 
typedef struct _STORAGE_IDENTIFIERPSTORAGE_IDENTIFIER
 
typedef struct _DEVICE_SEEK_PENALTY_DESCRIPTOR DEVICE_SEEK_PENALTY_DESCRIPTOR
 
typedef struct _DEVICE_SEEK_PENALTY_DESCRIPTORPDEVICE_SEEK_PENALTY_DESCRIPTOR
 
typedef struct _DEVICE_WRITE_AGGREGATION_DESCRIPTOR DEVICE_WRITE_AGGREGATION_DESCRIPTOR
 
typedef struct _DEVICE_WRITE_AGGREGATION_DESCRIPTORPDEVICE_WRITE_AGGREGATION_DESCRIPTOR
 
typedef struct _DEVICE_TRIM_DESCRIPTOR DEVICE_TRIM_DESCRIPTOR
 
typedef struct _DEVICE_TRIM_DESCRIPTORPDEVICE_TRIM_DESCRIPTOR
 
typedef ULONG DEVICE_DATA_MANAGEMENT_SET_ACTION
 
typedef struct _DEVICE_DATA_SET_RANGE DEVICE_DATA_SET_RANGE
 
typedef struct _DEVICE_DATA_SET_RANGEPDEVICE_DATA_SET_RANGE
 
typedef struct _DEVICE_MANAGE_DATA_SET_ATTRIBUTES DEVICE_MANAGE_DATA_SET_ATTRIBUTES
 
typedef struct _DEVICE_MANAGE_DATA_SET_ATTRIBUTESPDEVICE_MANAGE_DATA_SET_ATTRIBUTES
 
typedef struct _DEVICE_DSM_NOTIFICATION_PARAMETERS DEVICE_DSM_NOTIFICATION_PARAMETERS
 
typedef struct _DEVICE_DSM_NOTIFICATION_PARAMETERSPDEVICE_DSM_NOTIFICATION_PARAMETERS
 
typedef struct _STORAGE_GET_BC_PROPERTIES_OUTPUT STORAGE_GET_BC_PROPERTIES_OUTPUT
 
typedef struct _STORAGE_GET_BC_PROPERTIES_OUTPUTPSTORAGE_GET_BC_PROPERTIES_OUTPUT
 
typedef struct _STORAGE_ALLOCATE_BC_STREAM_INPUT STORAGE_ALLOCATE_BC_STREAM_INPUT
 
typedef struct _STORAGE_ALLOCATE_BC_STREAM_INPUTPSTORAGE_ALLOCATE_BC_STREAM_INPUT
 
typedef struct _STORAGE_ALLOCATE_BC_STREAM_OUTPUT STORAGE_ALLOCATE_BC_STREAM_OUTPUT
 
typedef struct _STORAGE_ALLOCATE_BC_STREAM_OUTPUTPSTORAGE_ALLOCATE_BC_STREAM_OUTPUT
 
typedef struct _STORAGE_PRIORITY_HINT_SUPPORT STORAGE_PRIORITY_HINT_SUPPORT
 
typedef struct _STORAGE_PRIORITY_HINT_SUPPORTPSTORAGE_PRIORITY_HINT_SUPPORT
 
typedef enum _WRITE_CACHE_TYPE WRITE_CACHE_TYPE
 
typedef enum _WRITE_CACHE_ENABLE WRITE_CACHE_ENABLE
 
typedef enum _WRITE_CACHE_CHANGE WRITE_CACHE_CHANGE
 
typedef enum _WRITE_THROUGH WRITE_THROUGH
 

Enumerations

enum  _STORAGE_MEDIA_TYPE {
  DDS_4mm = 0x20, MiniQic, Travan, QIC,
  MP_8mm, AME_8mm, AIT1_8mm, DLT,
  NCTP, IBM_3480, IBM_3490E, IBM_Magstar_3590,
  IBM_Magstar_MP, STK_DATA_D3, SONY_DTF, DV_6mm,
  DMI, SONY_D2, CLEANER_CARTRIDGE, CD_ROM,
  CD_R, CD_RW, DVD_ROM, DVD_R,
  DVD_RW, MO_3_RW, MO_5_WO, MO_5_RW,
  MO_5_LIMDOW, PC_5_WO, PC_5_RW, PD_5_RW,
  ABL_5_WO, PINNACLE_APEX_5_RW, SONY_12_WO, PHILIPS_12_WO,
  HITACHI_12_WO, CYGNET_12_WO, KODAK_14_WO, MO_NFR_525,
  NIKON_12_RW, IOMEGA_ZIP, IOMEGA_JAZ, SYQUEST_EZ135,
  SYQUEST_EZFLYER, SYQUEST_SYJET, AVATAR_F2, MP2_8mm,
  DST_S, DST_M, DST_L, VXATape_1,
  VXATape_2, STK_EAGLE, LTO_Ultrium, LTO_Accelis,
  DDS_4mm = 0x20, MiniQic, Travan, QIC,
  MP_8mm, AME_8mm, AIT1_8mm, DLT,
  NCTP, IBM_3480, IBM_3490E, IBM_Magstar_3590,
  IBM_Magstar_MP, STK_DATA_D3, SONY_DTF, DV_6mm,
  DMI, SONY_D2, CLEANER_CARTRIDGE, CD_ROM,
  CD_R, CD_RW, DVD_ROM, DVD_R,
  DVD_RW, MO_3_RW, MO_5_WO, MO_5_RW,
  MO_5_LIMDOW, PC_5_WO, PC_5_RW, PD_5_RW,
  ABL_5_WO, PINNACLE_APEX_5_RW, SONY_12_WO, PHILIPS_12_WO,
  HITACHI_12_WO, CYGNET_12_WO, KODAK_14_WO, MO_NFR_525,
  NIKON_12_RW, IOMEGA_ZIP, IOMEGA_JAZ, SYQUEST_EZ135,
  SYQUEST_EZFLYER, SYQUEST_SYJET, AVATAR_F2, MP2_8mm,
  DST_S, DST_M, DST_L, VXATape_1,
  VXATape_2, STK_9840, LTO_Ultrium, LTO_Accelis,
  DVD_RAM, AIT_8mm, ADR_1, ADR_2,
  STK_9940, SAIT, VXATape
}
 
enum  _STORAGE_BUS_TYPE {
  BusTypeUnknown = 0x00, BusTypeScsi, BusTypeAtapi, BusTypeAta,
  BusType1394, BusTypeSsa, BusTypeFibre, BusTypeUsb,
  BusTypeRAID, BusTypeiScsi, BusTypeSas, BusTypeSata,
  BusTypeSd, BusTypeMmc, BusTypeVirtual, BusTypeFileBackedVirtual,
  BusTypeMax, BusTypeMaxReserved = 0x7F
}
 
enum  _STORAGE_QUERY_TYPE { PropertyStandardQuery = 0, PropertyExistsQuery, PropertyMaskQuery, PropertyQueryMaxDefined }
 
enum  _STORAGE_PROPERTY_ID {
  StorageDeviceProperty = 0, StorageAdapterProperty, StorageDeviceIdProperty, StorageDeviceUniqueIdProperty,
  StorageDeviceWriteCacheProperty, StorageMiniportProperty, StorageAccessAlignmentProperty, StorageDeviceSeekPenaltyProperty,
  StorageDeviceTrimProperty, StorageDeviceWriteAggregationProperty
}
 
enum  _STORAGE_PORT_CODE_SET { StoragePortCodeSetReserved = 0, StoragePortCodeSetStorport = 1, StoragePortCodeSetSCSIport = 2 }
 
enum  _STORAGE_IDENTIFIER_CODE_SET { StorageIdCodeSetReserved = 0, StorageIdCodeSetBinary = 1, StorageIdCodeSetAscii = 2, StorageIdCodeSetUtf8 = 3 }
 
enum  _STORAGE_IDENTIFIER_TYPE {
  StorageIdTypeVendorSpecific = 0, StorageIdTypeVendorId = 1, StorageIdTypeEUI64 = 2, StorageIdTypeFCPHName = 3,
  StorageIdTypePortRelative = 4, StorageIdTypeTargetPortGroup = 5, StorageIdTypeLogicalUnitGroup = 6, StorageIdTypeMD5LogicalUnitIdentifier = 7,
  StorageIdTypeScsiNameString = 8
}
 
enum  _STORAGE_ID_NAA_FORMAT { StorageIdNAAFormatIEEEExtended = 2, StorageIdNAAFormatIEEERegistered = 3, StorageIdNAAFormatIEEEERegisteredExtended = 5 }
 
enum  _STORAGE_ASSOCIATION_TYPE { StorageIdAssocDevice = 0, StorageIdAssocPort = 1, StorageIdAssocTarget = 2 }
 
enum  _WRITE_CACHE_TYPE { WriteCacheTypeUnknown, WriteCacheTypeNone, WriteCacheTypeWriteBack, WriteCacheTypeWriteThrough }
 
enum  _WRITE_CACHE_ENABLE { WriteCacheEnableUnknown, WriteCacheDisabled, WriteCacheEnabled }
 
enum  _WRITE_CACHE_CHANGE { WriteCacheChangeUnknown, WriteCacheNotChangeable, WriteCacheChangeable }
 
enum  _WRITE_THROUGH { WriteThroughUnknown, WriteThroughNotSupported, WriteThroughSupported }
 

Functions

typedef _Struct_size_bytes_ (Size) struct _STORAGE_DESCRIPTOR_HEADER
 

Variables

 STORAGE_DESCRIPTOR_HEADER
 
PSTORAGE_DESCRIPTOR_HEADER
 
 STORAGE_DEVICE_DESCRIPTOR
 
PSTORAGE_DEVICE_DESCRIPTOR
 
 STORAGE_ADAPTER_DESCRIPTOR
 
PSTORAGE_ADAPTER_DESCRIPTOR
 
 STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR
 
PSTORAGE_ACCESS_ALIGNMENT_DESCRIPTOR
 
 STORAGE_DEVICE_ID_DESCRIPTOR
 
PSTORAGE_DEVICE_ID_DESCRIPTOR
 
 STORAGE_READ_CAPACITY
 
PSTORAGE_READ_CAPACITY
 
 STORAGE_WRITE_CACHE_PROPERTY
 
PSTORAGE_WRITE_CACHE_PROPERTY
 

Macro Definition Documentation

◆ DEVICE_DSM_FLAG_ENTIRE_DATA_SET_RANGE

#define DEVICE_DSM_FLAG_ENTIRE_DATA_SET_RANGE   0x00000001

Definition at line 214 of file ntddstor.h.

◆ DEVICE_DSM_FLAG_TRIM_NOT_FS_ALLOCATED

#define DEVICE_DSM_FLAG_TRIM_NOT_FS_ALLOCATED   0x80000000

Definition at line 569 of file ntddstor.h.

◆ DEVICE_DSM_NOTIFY_FLAG_BEGIN

#define DEVICE_DSM_NOTIFY_FLAG_BEGIN   0x00000001

Definition at line 216 of file ntddstor.h.

◆ DEVICE_DSM_NOTIFY_FLAG_END

#define DEVICE_DSM_NOTIFY_FLAG_END   0x00000002

Definition at line 217 of file ntddstor.h.

◆ DeviceDsmAction_None

#define DeviceDsmAction_None   0

Definition at line 210 of file ntddstor.h.

◆ DeviceDsmAction_Notification

#define DeviceDsmAction_Notification   (2 | DeviceDsmActionFlag_NonDestructive)

Definition at line 212 of file ntddstor.h.

◆ DeviceDsmAction_Trim

#define DeviceDsmAction_Trim   1

Definition at line 211 of file ntddstor.h.

◆ DeviceDsmActionFlag_NonDestructive

#define DeviceDsmActionFlag_NonDestructive   0x80000000

Definition at line 206 of file ntddstor.h.

◆ IOCTL_STORAGE_ALLOCATE_BC_STREAM

#define IOCTL_STORAGE_ALLOCATE_BC_STREAM   CTL_CODE(IOCTL_STORAGE_BASE, 0x0601, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 176 of file ntddstor.h.

◆ IOCTL_STORAGE_BASE

#define IOCTL_STORAGE_BASE   FILE_DEVICE_MASS_STORAGE

Definition at line 85 of file ntddstor.h.

◆ IOCTL_STORAGE_BC_VERSION

#define IOCTL_STORAGE_BC_VERSION   1

Definition at line 219 of file ntddstor.h.

◆ IOCTL_STORAGE_BREAK_RESERVATION

#define IOCTL_STORAGE_BREAK_RESERVATION   CTL_CODE(IOCTL_STORAGE_BASE, 0x0405, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 155 of file ntddstor.h.

◆ IOCTL_STORAGE_CHECK_PRIORITY_HINT_SUPPORT

#define IOCTL_STORAGE_CHECK_PRIORITY_HINT_SUPPORT   CTL_CODE(IOCTL_STORAGE_BASE, 0x0620, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 182 of file ntddstor.h.

◆ IOCTL_STORAGE_CHECK_VERIFY

#define IOCTL_STORAGE_CHECK_VERIFY   CTL_CODE(IOCTL_STORAGE_BASE, 0x0200, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 87 of file ntddstor.h.

◆ IOCTL_STORAGE_CHECK_VERIFY2

#define IOCTL_STORAGE_CHECK_VERIFY2   CTL_CODE(IOCTL_STORAGE_BASE, 0x0200, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 90 of file ntddstor.h.

◆ IOCTL_STORAGE_EJECT_MEDIA

#define IOCTL_STORAGE_EJECT_MEDIA   CTL_CODE(IOCTL_STORAGE_BASE, 0x0202, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 96 of file ntddstor.h.

◆ IOCTL_STORAGE_EJECTION_CONTROL

#define IOCTL_STORAGE_EJECTION_CONTROL   CTL_CODE(IOCTL_STORAGE_BASE, 0x0250, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 114 of file ntddstor.h.

◆ IOCTL_STORAGE_FIND_NEW_DEVICES

#define IOCTL_STORAGE_FIND_NEW_DEVICES   CTL_CODE(IOCTL_STORAGE_BASE, 0x0206, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 111 of file ntddstor.h.

◆ IOCTL_STORAGE_FREE_BC_STREAM

#define IOCTL_STORAGE_FREE_BC_STREAM   CTL_CODE(IOCTL_STORAGE_BASE, 0x0602, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 179 of file ntddstor.h.

◆ IOCTL_STORAGE_GET_BC_PROPERTIES

#define IOCTL_STORAGE_GET_BC_PROPERTIES   CTL_CODE(IOCTL_STORAGE_BASE, 0x0600, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 173 of file ntddstor.h.

◆ IOCTL_STORAGE_GET_DEVICE_NUMBER

#define IOCTL_STORAGE_GET_DEVICE_NUMBER   CTL_CODE(IOCTL_STORAGE_BASE, 0x0420, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 132 of file ntddstor.h.

◆ IOCTL_STORAGE_GET_HOTPLUG_INFO

#define IOCTL_STORAGE_GET_HOTPLUG_INFO   CTL_CODE(IOCTL_STORAGE_BASE, 0x0305, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 143 of file ntddstor.h.

◆ IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER

#define IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER   CTL_CODE(IOCTL_STORAGE_BASE, 0x0304, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 140 of file ntddstor.h.

◆ IOCTL_STORAGE_GET_MEDIA_TYPES

#define IOCTL_STORAGE_GET_MEDIA_TYPES   CTL_CODE(IOCTL_STORAGE_BASE, 0x0300, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 120 of file ntddstor.h.

◆ IOCTL_STORAGE_GET_MEDIA_TYPES_EX

#define IOCTL_STORAGE_GET_MEDIA_TYPES_EX   CTL_CODE(IOCTL_STORAGE_BASE, 0x0301, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 123 of file ntddstor.h.

◆ IOCTL_STORAGE_LOAD_MEDIA

#define IOCTL_STORAGE_LOAD_MEDIA   CTL_CODE(IOCTL_STORAGE_BASE, 0x0203, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 99 of file ntddstor.h.

◆ IOCTL_STORAGE_LOAD_MEDIA2

#define IOCTL_STORAGE_LOAD_MEDIA2   CTL_CODE(IOCTL_STORAGE_BASE, 0x0203, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 102 of file ntddstor.h.

◆ IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES

#define IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES   CTL_CODE(IOCTL_STORAGE_BASE, 0x0501, METHOD_BUFFERED, FILE_WRITE_ACCESS)

Definition at line 170 of file ntddstor.h.

◆ IOCTL_STORAGE_MCN_CONTROL

#define IOCTL_STORAGE_MCN_CONTROL   CTL_CODE(IOCTL_STORAGE_BASE, 0x0251, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 117 of file ntddstor.h.

◆ IOCTL_STORAGE_MEDIA_REMOVAL

#define IOCTL_STORAGE_MEDIA_REMOVAL   CTL_CODE(IOCTL_STORAGE_BASE, 0x0201, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 93 of file ntddstor.h.

◆ IOCTL_STORAGE_PERSISTENT_RESERVE_IN

#define IOCTL_STORAGE_PERSISTENT_RESERVE_IN   CTL_CODE(IOCTL_STORAGE_BASE, 0x0406, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 158 of file ntddstor.h.

◆ IOCTL_STORAGE_PERSISTENT_RESERVE_OUT

#define IOCTL_STORAGE_PERSISTENT_RESERVE_OUT   CTL_CODE(IOCTL_STORAGE_BASE, 0x0407, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 161 of file ntddstor.h.

◆ IOCTL_STORAGE_PREDICT_FAILURE

#define IOCTL_STORAGE_PREDICT_FAILURE   CTL_CODE(IOCTL_STORAGE_BASE, 0x0440, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 135 of file ntddstor.h.

◆ IOCTL_STORAGE_QUERY_PROPERTY

#define IOCTL_STORAGE_QUERY_PROPERTY   CTL_CODE(IOCTL_STORAGE_BASE, 0x0500, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 167 of file ntddstor.h.

◆ IOCTL_STORAGE_READ_CAPACITY

#define IOCTL_STORAGE_READ_CAPACITY   CTL_CODE(IOCTL_STORAGE_BASE, 0x0450, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 164 of file ntddstor.h.

◆ IOCTL_STORAGE_RELEASE

#define IOCTL_STORAGE_RELEASE   CTL_CODE(IOCTL_STORAGE_BASE, 0x0205, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 108 of file ntddstor.h.

◆ IOCTL_STORAGE_RESERVE

#define IOCTL_STORAGE_RESERVE   CTL_CODE(IOCTL_STORAGE_BASE, 0x0204, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 105 of file ntddstor.h.

◆ IOCTL_STORAGE_RESET_BUS

#define IOCTL_STORAGE_RESET_BUS   CTL_CODE(IOCTL_STORAGE_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 126 of file ntddstor.h.

◆ IOCTL_STORAGE_RESET_DEVICE

#define IOCTL_STORAGE_RESET_DEVICE   CTL_CODE(IOCTL_STORAGE_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 129 of file ntddstor.h.

◆ IOCTL_STORAGE_SET_HOTPLUG_INFO

#define IOCTL_STORAGE_SET_HOTPLUG_INFO   CTL_CODE(IOCTL_STORAGE_BASE, 0x0306, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 146 of file ntddstor.h.

◆ IsDsmActionNonDestructive

#define IsDsmActionNonDestructive (   _Action)    ((BOOLEAN)((_Action & DeviceDsmActionFlag_NonDestructive) != 0))

Definition at line 208 of file ntddstor.h.

◆ MEDIA_CURRENTLY_MOUNTED

#define MEDIA_CURRENTLY_MOUNTED   0x80000000

Definition at line 202 of file ntddstor.h.

◆ MEDIA_ERASEABLE

#define MEDIA_ERASEABLE   0x00000001

Definition at line 197 of file ntddstor.h.

◆ MEDIA_READ_ONLY

#define MEDIA_READ_ONLY   0x00000004

Definition at line 199 of file ntddstor.h.

◆ MEDIA_READ_WRITE

#define MEDIA_READ_WRITE   0x00000008

Definition at line 200 of file ntddstor.h.

◆ MEDIA_WRITE_ONCE

#define MEDIA_WRITE_ONCE   0x00000002

Definition at line 198 of file ntddstor.h.

◆ MEDIA_WRITE_PROTECTED

#define MEDIA_WRITE_PROTECTED   0x00000100

Definition at line 201 of file ntddstor.h.

◆ OBSOLETE_IOCTL_STORAGE_RESET_BUS

#define OBSOLETE_IOCTL_STORAGE_RESET_BUS   CTL_CODE(IOCTL_STORAGE_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 149 of file ntddstor.h.

◆ OBSOLETE_IOCTL_STORAGE_RESET_DEVICE

#define OBSOLETE_IOCTL_STORAGE_RESET_DEVICE   CTL_CODE(IOCTL_STORAGE_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 152 of file ntddstor.h.

◆ READ_COMPRESSION_INFO_VALID

#define READ_COMPRESSION_INFO_VALID   0x00000020

Definition at line 190 of file ntddstor.h.

◆ RECOVERED_READS_VALID

#define RECOVERED_READS_VALID   0x00000004

Definition at line 187 of file ntddstor.h.

◆ RECOVERED_WRITES_VALID

#define RECOVERED_WRITES_VALID   0x00000001

Definition at line 185 of file ntddstor.h.

◆ STORAGE_PRIORITY_HINT_SUPPORTED

#define STORAGE_PRIORITY_HINT_SUPPORTED   0x0001

Definition at line 221 of file ntddstor.h.

◆ StorageIdTypeNAA

#define StorageIdTypeNAA   StorageIdTypeFCPHName

Definition at line 204 of file ntddstor.h.

◆ TAPE_RESET_STATISTICS

#define TAPE_RESET_STATISTICS   2L

Definition at line 194 of file ntddstor.h.

◆ TAPE_RETURN_ENV_INFO

#define TAPE_RETURN_ENV_INFO   1L

Definition at line 193 of file ntddstor.h.

◆ TAPE_RETURN_STATISTICS

#define TAPE_RETURN_STATISTICS   0L

Definition at line 192 of file ntddstor.h.

◆ UNRECOVERED_READS_VALID

#define UNRECOVERED_READS_VALID   0x00000008

Definition at line 188 of file ntddstor.h.

◆ UNRECOVERED_WRITES_VALID

#define UNRECOVERED_WRITES_VALID   0x00000002

Definition at line 186 of file ntddstor.h.

◆ WRITE_COMPRESSION_INFO_VALID

#define WRITE_COMPRESSION_INFO_VALID   0x00000010

Definition at line 189 of file ntddstor.h.

Typedef Documentation

◆ CLASS_MEDIA_CHANGE_CONTEXT

◆ DEVICE_DATA_MANAGEMENT_SET_ACTION

Definition at line 567 of file ntddstor.h.

◆ DEVICE_DATA_SET_RANGE

◆ DEVICE_DSM_NOTIFICATION_PARAMETERS

◆ DEVICE_MANAGE_DATA_SET_ATTRIBUTES

◆ DEVICE_MEDIA_INFO

◆ DEVICE_SEEK_PENALTY_DESCRIPTOR

◆ DEVICE_TRIM_DESCRIPTOR

◆ DEVICE_WRITE_AGGREGATION_DESCRIPTOR

◆ GET_MEDIA_TYPES

◆ PCLASS_MEDIA_CHANGE_CONTEXT

◆ PDEVICE_DATA_SET_RANGE

◆ PDEVICE_DSM_NOTIFICATION_PARAMETERS

◆ PDEVICE_MANAGE_DATA_SET_ATTRIBUTES

◆ PDEVICE_MEDIA_INFO

◆ PDEVICE_SEEK_PENALTY_DESCRIPTOR

◆ PDEVICE_TRIM_DESCRIPTOR

◆ PDEVICE_WRITE_AGGREGATION_DESCRIPTOR

◆ PGET_MEDIA_TYPES

◆ PPREVENT_MEDIA_REMOVAL

◆ PREVENT_MEDIA_REMOVAL

◆ PSTORAGE_ALLOCATE_BC_STREAM_INPUT

◆ PSTORAGE_ALLOCATE_BC_STREAM_OUTPUT

◆ PSTORAGE_ASSOCIATION_TYPE

◆ PSTORAGE_BREAK_RESERVATION_REQUEST

◆ PSTORAGE_BUS_RESET_REQUEST

◆ PSTORAGE_BUS_TYPE

◆ PSTORAGE_DEVICE_NUMBER

◆ PSTORAGE_GET_BC_PROPERTIES_OUTPUT

◆ PSTORAGE_HOTPLUG_INFO

◆ PSTORAGE_ID_NAA_FORMAT

◆ PSTORAGE_IDENTIFIER

◆ PSTORAGE_IDENTIFIER_CODE_SET

◆ PSTORAGE_IDENTIFIER_TYPE

◆ PSTORAGE_MEDIA_TYPE

◆ PSTORAGE_MINIPORT_DESCRIPTOR

◆ PSTORAGE_PORT_CODE_SET

◆ PSTORAGE_PREDICT_FAILURE

◆ PSTORAGE_PRIORITY_HINT_SUPPORT

◆ PSTORAGE_PROPERTY_ID

◆ PSTORAGE_PROPERTY_QUERY

◆ PSTORAGE_QUERY_TYPE

◆ PTAPE_GET_STATISTICS

◆ PTAPE_STATISTICS

◆ STORAGE_ALLOCATE_BC_STREAM_INPUT

◆ STORAGE_ALLOCATE_BC_STREAM_OUTPUT

◆ STORAGE_ASSOCIATION_TYPE

◆ STORAGE_BREAK_RESERVATION_REQUEST

◆ STORAGE_BUS_RESET_REQUEST

◆ STORAGE_BUS_TYPE

◆ STORAGE_DEVICE_NUMBER

◆ STORAGE_GET_BC_PROPERTIES_OUTPUT

◆ STORAGE_HOTPLUG_INFO

◆ STORAGE_ID_NAA_FORMAT

◆ STORAGE_IDENTIFIER

◆ STORAGE_IDENTIFIER_CODE_SET

◆ STORAGE_IDENTIFIER_TYPE

◆ STORAGE_MEDIA_TYPE

◆ STORAGE_MINIPORT_DESCRIPTOR

◆ STORAGE_PORT_CODE_SET

◆ STORAGE_PREDICT_FAILURE

◆ STORAGE_PRIORITY_HINT_SUPPORT

◆ STORAGE_PROPERTY_ID

◆ STORAGE_PROPERTY_QUERY

◆ STORAGE_QUERY_TYPE

◆ TAPE_GET_STATISTICS

◆ TAPE_STATISTICS

◆ WRITE_CACHE_CHANGE

◆ WRITE_CACHE_ENABLE

◆ WRITE_CACHE_TYPE

◆ WRITE_THROUGH

Enumeration Type Documentation

◆ _STORAGE_ASSOCIATION_TYPE

Enumerator
StorageIdAssocDevice 
StorageIdAssocPort 
StorageIdAssocTarget 

Definition at line 527 of file ntddstor.h.

527  {
529  StorageIdAssocPort = 1,
enum _STORAGE_ASSOCIATION_TYPE STORAGE_ASSOCIATION_TYPE
enum _STORAGE_ASSOCIATION_TYPE * PSTORAGE_ASSOCIATION_TYPE

◆ _STORAGE_BUS_TYPE

Enumerator
BusTypeUnknown 
BusTypeScsi 
BusTypeAtapi 
BusTypeAta 
BusType1394 
BusTypeSsa 
BusTypeFibre 
BusTypeUsb 
BusTypeRAID 
BusTypeiScsi 
BusTypeSas 
BusTypeSata 
BusTypeSd 
BusTypeMmc 
BusTypeVirtual 
BusTypeFileBackedVirtual 
BusTypeMax 
BusTypeMaxReserved 

Definition at line 345 of file ntddstor.h.

◆ _STORAGE_ID_NAA_FORMAT

Enumerator
StorageIdNAAFormatIEEEExtended 
StorageIdNAAFormatIEEERegistered 
StorageIdNAAFormatIEEEERegisteredExtended 

Definition at line 521 of file ntddstor.h.

◆ _STORAGE_IDENTIFIER_CODE_SET

Enumerator
StorageIdCodeSetReserved 
StorageIdCodeSetBinary 
StorageIdCodeSetAscii 
StorageIdCodeSetUtf8 

Definition at line 502 of file ntddstor.h.

502  {
enum _STORAGE_IDENTIFIER_CODE_SET STORAGE_IDENTIFIER_CODE_SET
enum _STORAGE_IDENTIFIER_CODE_SET * PSTORAGE_IDENTIFIER_CODE_SET

◆ _STORAGE_IDENTIFIER_TYPE

Enumerator
StorageIdTypeVendorSpecific 
StorageIdTypeVendorId 
StorageIdTypeEUI64 
StorageIdTypeFCPHName 
StorageIdTypePortRelative 
StorageIdTypeTargetPortGroup 
StorageIdTypeLogicalUnitGroup 
StorageIdTypeMD5LogicalUnitIdentifier 
StorageIdTypeScsiNameString 

Definition at line 509 of file ntddstor.h.

◆ _STORAGE_MEDIA_TYPE

Enumerator
DDS_4mm 
MiniQic 
Travan 
QIC 
MP_8mm 
AME_8mm 
AIT1_8mm 
DLT 
NCTP 
IBM_3480 
IBM_3490E 
IBM_Magstar_3590 
IBM_Magstar_MP 
STK_DATA_D3 
SONY_DTF 
DV_6mm 
DMI 
SONY_D2 
CLEANER_CARTRIDGE 
CD_ROM 
CD_R 
CD_RW 
DVD_ROM 
DVD_R 
DVD_RW 
MO_3_RW 
MO_5_WO 
MO_5_RW 
MO_5_LIMDOW 
PC_5_WO 
PC_5_RW 
PD_5_RW 
ABL_5_WO 
PINNACLE_APEX_5_RW 
SONY_12_WO 
PHILIPS_12_WO 
HITACHI_12_WO 
CYGNET_12_WO 
KODAK_14_WO 
MO_NFR_525 
NIKON_12_RW 
IOMEGA_ZIP 
IOMEGA_JAZ 
SYQUEST_EZ135 
SYQUEST_EZFLYER 
SYQUEST_SYJET 
AVATAR_F2 
MP2_8mm 
DST_S 
DST_M 
DST_L 
VXATape_1 
VXATape_2 
STK_EAGLE 
LTO_Ultrium 
LTO_Accelis 
DDS_4mm 
MiniQic 
Travan 
QIC 
MP_8mm 
AME_8mm 
AIT1_8mm 
DLT 
NCTP 
IBM_3480 
IBM_3490E 
IBM_Magstar_3590 
IBM_Magstar_MP 
STK_DATA_D3 
SONY_DTF 
DV_6mm 
DMI 
SONY_D2 
CLEANER_CARTRIDGE 
CD_ROM 
CD_R 
CD_RW 
DVD_ROM 
DVD_R 
DVD_RW 
MO_3_RW 
MO_5_WO 
MO_5_RW 
MO_5_LIMDOW 
PC_5_WO 
PC_5_RW 
PD_5_RW 
ABL_5_WO 
PINNACLE_APEX_5_RW 
SONY_12_WO 
PHILIPS_12_WO 
HITACHI_12_WO 
CYGNET_12_WO 
KODAK_14_WO 
MO_NFR_525 
NIKON_12_RW 
IOMEGA_ZIP 
IOMEGA_JAZ 
SYQUEST_EZ135 
SYQUEST_EZFLYER 
SYQUEST_SYJET 
AVATAR_F2 
MP2_8mm 
DST_S 
DST_M 
DST_L 
VXATape_1 
VXATape_2 
STK_9840 
LTO_Ultrium 
LTO_Accelis 
DVD_RAM 
AIT_8mm 
ADR_1 
ADR_2 
STK_9940 
SAIT 
VXATape 

Definition at line 275 of file ntddstor.h.

275  {
276  DDS_4mm = 0x20,
277  MiniQic,
278  Travan,
279  QIC,
280  MP_8mm,
281  AME_8mm,
282  AIT1_8mm,
283  DLT,
284  NCTP,
285  IBM_3480,
286  IBM_3490E,
289  STK_DATA_D3,
290  SONY_DTF,
291  DV_6mm,
292  DMI,
293  SONY_D2,
295  CD_ROM,
296  CD_R,
297  CD_RW,
298  DVD_ROM,
299  DVD_R,
300  DVD_RW,
301  MO_3_RW,
302  MO_5_WO,
303  MO_5_RW,
304  MO_5_LIMDOW,
305  PC_5_WO,
306  PC_5_RW,
307  PD_5_RW,
308  ABL_5_WO,
310  SONY_12_WO,
313  CYGNET_12_WO,
314  KODAK_14_WO,
315  MO_NFR_525,
316  NIKON_12_RW,
317  IOMEGA_ZIP,
318  IOMEGA_JAZ,
322  AVATAR_F2,
323  MP2_8mm,
324  DST_S,
325  DST_M,
326  DST_L,
327  VXATape_1,
328  VXATape_2,
329 #if (NTDDI_VERSION < NTDDI_WINXP)
330  STK_EAGLE,
331 #else
332  STK_9840,
333 #endif
334  LTO_Ultrium,
335  LTO_Accelis,
336  DVD_RAM,
337  AIT_8mm,
338  ADR_1,
339  ADR_2,
340  STK_9940,
341  SAIT,
342  VXATape
Definition: ntddstor.h:341
Definition: ntddstor.h:296
enum _STORAGE_MEDIA_TYPE STORAGE_MEDIA_TYPE
enum _STORAGE_MEDIA_TYPE * PSTORAGE_MEDIA_TYPE
Definition: ntddstor.h:284
Definition: ntddstor.h:292
Definition: ntddstor.h:283
Definition: ntddstor.h:279

◆ _STORAGE_PORT_CODE_SET

Enumerator
StoragePortCodeSetReserved 
StoragePortCodeSetStorport 
StoragePortCodeSetSCSIport 

Definition at line 488 of file ntddstor.h.

488  {
enum _STORAGE_PORT_CODE_SET * PSTORAGE_PORT_CODE_SET
enum _STORAGE_PORT_CODE_SET STORAGE_PORT_CODE_SET

◆ _STORAGE_PROPERTY_ID

Enumerator
StorageDeviceProperty 
StorageAdapterProperty 
StorageDeviceIdProperty 
StorageDeviceUniqueIdProperty 
StorageDeviceWriteCacheProperty 
StorageMiniportProperty 
StorageAccessAlignmentProperty 
StorageDeviceSeekPenaltyProperty 
StorageDeviceTrimProperty 
StorageDeviceWriteAggregationProperty 

Definition at line 419 of file ntddstor.h.

◆ _STORAGE_QUERY_TYPE

Enumerator
PropertyStandardQuery 
PropertyExistsQuery 
PropertyMaskQuery 
PropertyQueryMaxDefined 

Definition at line 412 of file ntddstor.h.

412  {
enum _STORAGE_QUERY_TYPE * PSTORAGE_QUERY_TYPE
enum _STORAGE_QUERY_TYPE STORAGE_QUERY_TYPE

◆ _WRITE_CACHE_CHANGE

Enumerator
WriteCacheChangeUnknown 
WriteCacheNotChangeable 
WriteCacheChangeable 

Definition at line 681 of file ntddstor.h.

◆ _WRITE_CACHE_ENABLE

Enumerator
WriteCacheEnableUnknown 
WriteCacheDisabled 
WriteCacheEnabled 

Definition at line 675 of file ntddstor.h.

◆ _WRITE_CACHE_TYPE

Enumerator
WriteCacheTypeUnknown 
WriteCacheTypeNone 
WriteCacheTypeWriteBack 
WriteCacheTypeWriteThrough 

Definition at line 668 of file ntddstor.h.

◆ _WRITE_THROUGH

Enumerator
WriteThroughUnknown 
WriteThroughNotSupported 
WriteThroughSupported 

Definition at line 687 of file ntddstor.h.

Function Documentation

◆ _Struct_size_bytes_()

typedef _Struct_size_bytes_ ( Size  )

Definition at line 438 of file ntddstor.h.

438  {
439  ULONG Version;
440  ULONG Size;
* PSTORAGE_DESCRIPTOR_HEADER
Definition: ntddstor.h:441
IN PVOID IN PVOID IN USHORT Version
Definition: pci.h:359
STORAGE_DESCRIPTOR_HEADER
Definition: ntddstor.h:441
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
unsigned int ULONG
Definition: retypes.h:1

Variable Documentation

◆ PSTORAGE_ACCESS_ALIGNMENT_DESCRIPTOR

* PSTORAGE_ACCESS_ALIGNMENT_DESCRIPTOR

Definition at line 486 of file ntddstor.h.

◆ PSTORAGE_ADAPTER_DESCRIPTOR

* PSTORAGE_ADAPTER_DESCRIPTOR

◆ PSTORAGE_DESCRIPTOR_HEADER

* PSTORAGE_DESCRIPTOR_HEADER

◆ PSTORAGE_DEVICE_DESCRIPTOR

◆ PSTORAGE_DEVICE_ID_DESCRIPTOR

* PSTORAGE_DEVICE_ID_DESCRIPTOR

Definition at line 547 of file ntddstor.h.

◆ PSTORAGE_READ_CAPACITY

* PSTORAGE_READ_CAPACITY

Definition at line 666 of file ntddstor.h.

◆ PSTORAGE_WRITE_CACHE_PROPERTY

* PSTORAGE_WRITE_CACHE_PROPERTY

Definition at line 703 of file ntddstor.h.

◆ STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR

STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR

Definition at line 486 of file ntddstor.h.

◆ STORAGE_ADAPTER_DESCRIPTOR

STORAGE_ADAPTER_DESCRIPTOR

Definition at line 476 of file ntddstor.h.

Referenced by USBSTOR_HandleQueryProperty().

◆ STORAGE_DESCRIPTOR_HEADER

STORAGE_DESCRIPTOR_HEADER

Definition at line 441 of file ntddstor.h.

Referenced by USBSTOR_HandleQueryProperty().

◆ STORAGE_DEVICE_DESCRIPTOR

STORAGE_DEVICE_DESCRIPTOR

Definition at line 457 of file ntddstor.h.

Referenced by find_devices(), and USBSTOR_HandleQueryProperty().

◆ STORAGE_DEVICE_ID_DESCRIPTOR

STORAGE_DEVICE_ID_DESCRIPTOR

Definition at line 547 of file ntddstor.h.

◆ STORAGE_READ_CAPACITY

STORAGE_READ_CAPACITY

Definition at line 666 of file ntddstor.h.

◆ STORAGE_WRITE_CACHE_PROPERTY

STORAGE_WRITE_CACHE_PROPERTY

Definition at line 703 of file ntddstor.h.