ReactOS 0.4.16-dev-319-g6cf4263
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  _DEVICE_LB_PROVISIONING_DESCRIPTOR
 
struct  _DEVICE_POWER_DESCRIPTOR
 
struct  _DEVICE_COPY_OFFLOAD_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
 
struct  _STORAGE_MEDIA_SERIAL_NUMBER_DATA
 
struct  _PERSISTENT_RESERVE_COMMAND
 
struct  _STORAGE_LB_PROVISIONING_MAP_RESOURCES
 
struct  _DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT
 
struct  _DEVICE_DATA_SET_LB_PROVISIONING_STATE
 
struct  _DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2
 
struct  _DEVICE_DATA_SET_LBP_STATE_PARAMETERS
 
struct  _STORAGE_EVENT_NOTIFICATION
 
struct  _STORAGE_OFFLOAD_TOKEN
 
struct  _DEVICE_DSM_OFFLOAD_READ_PARAMETERS
 
struct  _STORAGE_OFFLOAD_READ_OUTPUT
 
struct  _DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS
 
struct  _STORAGE_OFFLOAD_WRITE_OUTPUT
 
struct  _STORAGE_IDLE_POWER
 
struct  _STORAGE_IDLE_POWERUP_REASON
 

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_LB_PROVISIONING_MAP_RESOURCES    CTL_CODE(IOCTL_STORAGE_BASE, 0x0502, METHOD_BUFFERED, FILE_READ_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 IOCTL_STORAGE_START_DATA_INTEGRITY_CHECK    CTL_CODE(IOCTL_STORAGE_BASE, 0x0621, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_STORAGE_STOP_DATA_INTEGRITY_CHECK    CTL_CODE(IOCTL_STORAGE_BASE, 0x0622, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_STORAGE_FIRMWARE_GET_INFO    CTL_CODE(IOCTL_STORAGE_BASE, 0x0700, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_FIRMWARE_DOWNLOAD    CTL_CODE(IOCTL_STORAGE_BASE, 0x0701, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_STORAGE_FIRMWARE_ACTIVATE    CTL_CODE(IOCTL_STORAGE_BASE, 0x0702, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_STORAGE_ENABLE_IDLE_POWER    CTL_CODE(IOCTL_STORAGE_BASE, 0x0720, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_GET_IDLE_POWERUP_REASON    CTL_CODE(IOCTL_STORAGE_BASE, 0x0721, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_POWER_ACTIVE    CTL_CODE(IOCTL_STORAGE_BASE, 0x0722, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_POWER_IDLE    CTL_CODE(IOCTL_STORAGE_BASE, 0x0723, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_EVENT_NOTIFICATION    CTL_CODE(IOCTL_STORAGE_BASE, 0x0724, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_DEVICE_POWER_CAP    CTL_CODE(IOCTL_STORAGE_BASE, 0x0725, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_RPMB_COMMAND    CTL_CODE(IOCTL_STORAGE_BASE, 0x0726, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_ATTRIBUTE_MANAGEMENT    CTL_CODE(IOCTL_STORAGE_BASE, 0x0727, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_STORAGE_DIAGNOSTIC    CTL_CODE(IOCTL_STORAGE_BASE, 0x0728, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_GET_PHYSICAL_ELEMENT_STATUS    CTL_CODE(IOCTL_STORAGE_BASE, 0x0729, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_REMOVE_ELEMENT_AND_TRUNCATE    CTL_CODE(IOCTL_STORAGE_BASE, 0x0730, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_STORAGE_GET_DEVICE_INTERNAL_LOG    CTL_CODE(IOCTL_STORAGE_BASE, 0x0731, 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   0x0u
 
#define DeviceDsmAction_Trim   0x1u
 
#define DeviceDsmAction_Notification   (0x00000002u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_OffloadRead   (0x00000003u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_OffloadWrite   (0x00000004u)
 
#define DeviceDsmAction_Allocation   (0x00000005u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_Repair   (0x00000006u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_Scrub   (0x00000007u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_DrtQuery   (0x00000008u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_DrtClear   (0x00000009u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_DrtDisable   (0x0000000Au | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_TieringQuery   (0x0000000Bu | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_Map   (0x0000000Cu | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_RegenerateParity   (0x0000000Du | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_NvCache_Change_Priority   (0x0000000Eu | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_NvCache_Evict   (0x0000000Fu | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_TopologyIdQuery   (0x00000010u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_GetPhysicalAddresses   (0x00000011u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_ScopeRegen   (0x00000012u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_ReportZones   (0x00000013u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_OpenZone   (0x00000014u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_FinishZone   (0x00000015u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_CloseZone   (0x00000016u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_ResetWritePointer   (0x00000017u)
 
#define DeviceDsmAction_GetRangeErrorInfo   (0x00000018u | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_WriteZeroes   (0x00000019u)
 
#define DeviceDsmAction_LostQuery   (0x0000001Au | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_GetFreeSpace   (0x0000001Bu | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_ConversionQuery   (0x0000001Cu | DeviceDsmActionFlag_NonDestructive)
 
#define DeviceDsmAction_VdtSet   (0x0000001Du)
 
#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_LB_PROVISIONING_DESCRIPTOR_V1_SIZE   RTL_SIZEOF_THROUGH_FIELD(DEVICE_LB_PROVISIONING_DESCRIPTOR, UnmapGranularityAlignment)
 
#define DEVICE_DSM_FLAG_TRIM_NOT_FS_ALLOCATED   0x80000000
 
#define DEVICE_DSM_ALLOCATION_OUTPUT_V1   (sizeof(DEVICE_DSM_ALLOCATION_OUTPUT))
 
#define DEVICE_DATA_SET_LB_PROVISIONING_STATE_VERSION_V1   DEVICE_DSM_ALLOCATION_OUTPUT_V1
 
#define DEVICE_DSM_ALLOCATION_OUTPUT_V2   (sizeof(DEVICE_DSM_ALLOCATION_OUTPUT2))
 
#define DEVICE_DATA_SET_LB_PROVISIONING_STATE_VERSION_V2   DEVICE_DSM_ALLOCATION_OUTPUT_V2
 
#define DeviceDsmDefinition_Allocation
 
#define DEVICE_DSM_FLAG_ALLOCATION_CONSOLIDATEABLE_ONLY   0x40000000
 
#define STORAGE_EVENT_NOTIFICATION_VERSION_V1   1
 
#define STORAGE_EVENT_MEDIA_STATUS   0x0000000000000001
 
#define STORAGE_EVENT_DEVICE_STATUS   0x0000000000000002
 
#define STORAGE_EVENT_DEVICE_OPERATION   0x0000000000000004
 
#define STORAGE_EVENT_ALL   (STORAGE_EVENT_MEDIA_STATUS | STORAGE_EVENT_DEVICE_STATUS | STORAGE_EVENT_DEVICE_OPERATION)
 
#define STORAGE_OFFLOAD_MAX_TOKEN_LENGTH   512
 
#define STORAGE_OFFLOAD_TOKEN_ID_LENGTH   0x1F8
 
#define STORAGE_OFFLOAD_TOKEN_TYPE_ZERO_DATA   0xFFFF0001
 
#define MAKE_ZERO_TOKEN(T)
 
#define IS_ZERO_TOKEN(T)
 
#define STORAGE_OFFLOAD_READ_RANGE_TRUNCATED   0x00000001
 
#define DeviceDsmDefinition_OffloadRead
 
#define STORAGE_OFFLOAD_WRITE_RANGE_TRUNCATED   0x0001
 
#define STORAGE_OFFLOAD_TOKEN_INVALID   0x0002
 
#define DeviceDsmDefinition_OffloadWrite
 
#define READ_COPY_NUMBER_KEY   0x52434e00
 
#define READ_COPY_NUMBER_BYPASS_CACHE_FLAG   0x00000100
 
#define IsKeyReadCopyNumber(_k)   (((_k) & 0xFFFFFE00) == READ_COPY_NUMBER_KEY)
 
#define IsKeyReadCopyNumberBypassCache(_k)   ((_k) & READ_COPY_NUMBER_BYPASS_CACHE_FLAG)
 
#define SetReadCopyNumberBypassCacheToKey(_k)   ((_k) |= READ_COPY_NUMBER_BYPASS_CACHE_FLAG)
 
#define ReadCopyNumberToKey(_c)   (READ_COPY_NUMBER_KEY | (UCHAR)(_c))
 
#define ReadCopyNumberFromKey(_k)   (UCHAR)((_k) & 0x000000FF)
 
#define STORAGE_IDLE_POWERUP_REASON_VERSION_V1   1
 

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 struct _DEVICE_LB_PROVISIONING_DESCRIPTOR DEVICE_LB_PROVISIONING_DESCRIPTOR
 
typedef struct _DEVICE_LB_PROVISIONING_DESCRIPTORPDEVICE_LB_PROVISIONING_DESCRIPTOR
 
typedef struct _DEVICE_POWER_DESCRIPTOR DEVICE_POWER_DESCRIPTOR
 
typedef struct _DEVICE_POWER_DESCRIPTORPDEVICE_POWER_DESCRIPTOR
 
typedef struct _DEVICE_COPY_OFFLOAD_DESCRIPTOR DEVICE_COPY_OFFLOAD_DESCRIPTOR
 
typedef struct _DEVICE_COPY_OFFLOAD_DESCRIPTORPDEVICE_COPY_OFFLOAD_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 struct _STORAGE_MEDIA_SERIAL_NUMBER_DATA STORAGE_MEDIA_SERIAL_NUMBER_DATA
 
typedef struct _STORAGE_MEDIA_SERIAL_NUMBER_DATAPSTORAGE_MEDIA_SERIAL_NUMBER_DATA
 
typedef struct _PERSISTENT_RESERVE_COMMAND PERSISTENT_RESERVE_COMMAND
 
typedef struct _PERSISTENT_RESERVE_COMMANDPPERSISTENT_RESERVE_COMMAND
 
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
 
typedef struct _STORAGE_LB_PROVISIONING_MAP_RESOURCES STORAGE_LB_PROVISIONING_MAP_RESOURCES
 
typedef struct _STORAGE_LB_PROVISIONING_MAP_RESOURCESPSTORAGE_LB_PROVISIONING_MAP_RESOURCES
 
typedef struct _DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT
 
typedef struct _DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUTPDEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT
 
typedef struct _DEVICE_DATA_SET_LB_PROVISIONING_STATE DEVICE_DATA_SET_LB_PROVISIONING_STATE
 
typedef struct _DEVICE_DATA_SET_LB_PROVISIONING_STATEPDEVICE_DATA_SET_LB_PROVISIONING_STATE
 
typedef struct _DEVICE_DATA_SET_LB_PROVISIONING_STATE DEVICE_DSM_ALLOCATION_OUTPUT
 
typedef struct _DEVICE_DATA_SET_LB_PROVISIONING_STATEPDEVICE_DSM_ALLOCATION_OUTPUT
 
typedef struct _DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2 DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2
 
typedef struct _DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2PDEVICE_DATA_SET_LB_PROVISIONING_STATE_V2
 
typedef struct _DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2 DEVICE_DSM_ALLOCATION_OUTPUT2
 
typedef struct _DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2PDEVICE_DSM_ALLOCATION_OUTPUT2
 
typedef struct _DEVICE_DATA_SET_LBP_STATE_PARAMETERS DEVICE_DATA_SET_LBP_STATE_PARAMETERS
 
typedef struct _DEVICE_DATA_SET_LBP_STATE_PARAMETERSPDEVICE_DATA_SET_LBP_STATE_PARAMETERS
 
typedef struct _DEVICE_DATA_SET_LBP_STATE_PARAMETERS DEVICE_DSM_ALLOCATION_PARAMETERS
 
typedef struct _DEVICE_DATA_SET_LBP_STATE_PARAMETERSPDEVICE_DSM_ALLOCATION_PARAMETERS
 
typedef struct _STORAGE_EVENT_NOTIFICATION STORAGE_EVENT_NOTIFICATION
 
typedef struct _STORAGE_EVENT_NOTIFICATIONPSTORAGE_EVENT_NOTIFICATION
 
typedef struct _STORAGE_OFFLOAD_TOKEN STORAGE_OFFLOAD_TOKEN
 
typedef struct _STORAGE_OFFLOAD_TOKENPSTORAGE_OFFLOAD_TOKEN
 
typedef struct _DEVICE_DSM_OFFLOAD_READ_PARAMETERS DEVICE_DSM_OFFLOAD_READ_PARAMETERS
 
typedef struct _DEVICE_DSM_OFFLOAD_READ_PARAMETERSPDEVICE_DSM_OFFLOAD_READ_PARAMETERS
 
typedef struct _STORAGE_OFFLOAD_READ_OUTPUT STORAGE_OFFLOAD_READ_OUTPUT
 
typedef struct _STORAGE_OFFLOAD_READ_OUTPUTPSTORAGE_OFFLOAD_READ_OUTPUT
 
typedef struct _DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS
 
typedef struct _DEVICE_DSM_OFFLOAD_WRITE_PARAMETERSPDEVICE_DSM_OFFLOAD_WRITE_PARAMETERS
 
typedef struct _STORAGE_OFFLOAD_WRITE_OUTPUT STORAGE_OFFLOAD_WRITE_OUTPUT
 
typedef struct _STORAGE_OFFLOAD_WRITE_OUTPUTPSTORAGE_OFFLOAD_WRITE_OUTPUT
 
typedef struct _STORAGE_IDLE_POWER STORAGE_IDLE_POWER
 
typedef struct _STORAGE_IDLE_POWERPSTORAGE_IDLE_POWER
 
typedef enum _STORAGE_POWERUP_REASON_TYPE STORAGE_POWERUP_REASON_TYPE
 
typedef enum _STORAGE_POWERUP_REASON_TYPEPSTORAGE_POWERUP_REASON_TYPE
 
typedef struct _STORAGE_IDLE_POWERUP_REASON STORAGE_IDLE_POWERUP_REASON
 
typedef struct _STORAGE_IDLE_POWERUP_REASONPSTORAGE_IDLE_POWERUP_REASON
 

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 , StorageDeviceDeviceTelemetryProperty , StorageDeviceLBProvisioningProperty ,
  StorageDevicePowerProperty , StorageDeviceCopyOffloadProperty , StorageDeviceResiliencyProperty , StorageDeviceMediumProductType ,
  StorageAdapterRpmbProperty , StorageAdapterCryptoProperty , StorageDeviceTieringProperty , StorageDeviceFaultDomainProperty ,
  StorageDeviceClusportProperty , StorageDeviceDependantDevicesProperty , StorageDeviceIoCapabilityProperty = 48 , StorageAdapterProtocolSpecificProperty ,
  StorageDeviceProtocolSpecificProperty , StorageAdapterTemperatureProperty , StorageDeviceTemperatureProperty , StorageAdapterPhysicalTopologyProperty ,
  StorageDevicePhysicalTopologyProperty , StorageDeviceAttributesProperty , StorageDeviceManagementStatus , StorageAdapterSerialNumberProperty ,
  StorageDeviceLocationProperty , StorageDeviceNumaProperty , StorageDeviceZonedDeviceProperty , StorageDeviceUnsafeShutdownCount ,
  StorageDeviceEnduranceProperty
}
 
enum  _STORAGE_PORT_CODE_SET {
  StoragePortCodeSetReserved = 0 , StoragePortCodeSetStorport = 1 , StoragePortCodeSetSCSIport = 2 , StoragePortCodeSetSpaceport = 3 ,
  StoragePortCodeSetATAport = 4 , StoragePortCodeSetUSBport = 5 , StoragePortCodeSetSBP2port = 6 , StoragePortCodeSetSDport = 7
}
 
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 }
 
enum  _STORAGE_POWERUP_REASON_TYPE { StoragePowerupUnknown = 0 , StoragePowerupIO , StoragePowerupDeviceAttention }
 

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_MEDIUM_PRODUCT_TYPE_DESCRIPTOR
 
PSTORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR
 
 STORAGE_DEVICE_IO_CAPABILITY_DESCRIPTOR
 
PSTORAGE_DEVICE_IO_CAPABILITY_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_DATA_SET_LB_PROVISIONING_STATE_VERSION_V1

#define DEVICE_DATA_SET_LB_PROVISIONING_STATE_VERSION_V1   DEVICE_DSM_ALLOCATION_OUTPUT_V1

Definition at line 939 of file ntddstor.h.

◆ DEVICE_DATA_SET_LB_PROVISIONING_STATE_VERSION_V2

#define DEVICE_DATA_SET_LB_PROVISIONING_STATE_VERSION_V2   DEVICE_DSM_ALLOCATION_OUTPUT_V2

Definition at line 953 of file ntddstor.h.

◆ DEVICE_DSM_ALLOCATION_OUTPUT_V1

#define DEVICE_DSM_ALLOCATION_OUTPUT_V1   (sizeof(DEVICE_DSM_ALLOCATION_OUTPUT))

Definition at line 938 of file ntddstor.h.

◆ DEVICE_DSM_ALLOCATION_OUTPUT_V2

#define DEVICE_DSM_ALLOCATION_OUTPUT_V2   (sizeof(DEVICE_DSM_ALLOCATION_OUTPUT2))

Definition at line 952 of file ntddstor.h.

◆ DEVICE_DSM_FLAG_ALLOCATION_CONSOLIDATEABLE_ONLY

#define DEVICE_DSM_FLAG_ALLOCATION_CONSOLIDATEABLE_ONLY   0x40000000

Definition at line 963 of file ntddstor.h.

◆ DEVICE_DSM_FLAG_ENTIRE_DATA_SET_RANGE

#define DEVICE_DSM_FLAG_ENTIRE_DATA_SET_RANGE   0x00000001

Definition at line 306 of file ntddstor.h.

◆ DEVICE_DSM_FLAG_TRIM_NOT_FS_ALLOCATED

#define DEVICE_DSM_FLAG_TRIM_NOT_FS_ALLOCATED   0x80000000

Definition at line 764 of file ntddstor.h.

◆ DEVICE_DSM_NOTIFY_FLAG_BEGIN

#define DEVICE_DSM_NOTIFY_FLAG_BEGIN   0x00000001

Definition at line 308 of file ntddstor.h.

◆ DEVICE_DSM_NOTIFY_FLAG_END

#define DEVICE_DSM_NOTIFY_FLAG_END   0x00000002

Definition at line 309 of file ntddstor.h.

◆ DEVICE_LB_PROVISIONING_DESCRIPTOR_V1_SIZE

#define DEVICE_LB_PROVISIONING_DESCRIPTOR_V1_SIZE   RTL_SIZEOF_THROUGH_FIELD(DEVICE_LB_PROVISIONING_DESCRIPTOR, UnmapGranularityAlignment)

Definition at line 661 of file ntddstor.h.

◆ DeviceDsmAction_Allocation

#define DeviceDsmAction_Allocation   (0x00000005u | DeviceDsmActionFlag_NonDestructive)

Definition at line 280 of file ntddstor.h.

◆ DeviceDsmAction_CloseZone

#define DeviceDsmAction_CloseZone   (0x00000016u | DeviceDsmActionFlag_NonDestructive)

Definition at line 297 of file ntddstor.h.

◆ DeviceDsmAction_ConversionQuery

#define DeviceDsmAction_ConversionQuery   (0x0000001Cu | DeviceDsmActionFlag_NonDestructive)

Definition at line 303 of file ntddstor.h.

◆ DeviceDsmAction_DrtClear

#define DeviceDsmAction_DrtClear   (0x00000009u | DeviceDsmActionFlag_NonDestructive)

Definition at line 284 of file ntddstor.h.

◆ DeviceDsmAction_DrtDisable

#define DeviceDsmAction_DrtDisable   (0x0000000Au | DeviceDsmActionFlag_NonDestructive)

Definition at line 285 of file ntddstor.h.

◆ DeviceDsmAction_DrtQuery

#define DeviceDsmAction_DrtQuery   (0x00000008u | DeviceDsmActionFlag_NonDestructive)

Definition at line 283 of file ntddstor.h.

◆ DeviceDsmAction_FinishZone

#define DeviceDsmAction_FinishZone   (0x00000015u | DeviceDsmActionFlag_NonDestructive)

Definition at line 296 of file ntddstor.h.

◆ DeviceDsmAction_GetFreeSpace

#define DeviceDsmAction_GetFreeSpace   (0x0000001Bu | DeviceDsmActionFlag_NonDestructive)

Definition at line 302 of file ntddstor.h.

◆ DeviceDsmAction_GetPhysicalAddresses

#define DeviceDsmAction_GetPhysicalAddresses   (0x00000011u | DeviceDsmActionFlag_NonDestructive)

Definition at line 292 of file ntddstor.h.

◆ DeviceDsmAction_GetRangeErrorInfo

#define DeviceDsmAction_GetRangeErrorInfo   (0x00000018u | DeviceDsmActionFlag_NonDestructive)

Definition at line 299 of file ntddstor.h.

◆ DeviceDsmAction_LostQuery

#define DeviceDsmAction_LostQuery   (0x0000001Au | DeviceDsmActionFlag_NonDestructive)

Definition at line 301 of file ntddstor.h.

◆ DeviceDsmAction_Map

#define DeviceDsmAction_Map   (0x0000000Cu | DeviceDsmActionFlag_NonDestructive)

Definition at line 287 of file ntddstor.h.

◆ DeviceDsmAction_None

#define DeviceDsmAction_None   0x0u

Definition at line 275 of file ntddstor.h.

◆ DeviceDsmAction_Notification

#define DeviceDsmAction_Notification   (0x00000002u | DeviceDsmActionFlag_NonDestructive)

Definition at line 277 of file ntddstor.h.

◆ DeviceDsmAction_NvCache_Change_Priority

#define DeviceDsmAction_NvCache_Change_Priority   (0x0000000Eu | DeviceDsmActionFlag_NonDestructive)

Definition at line 289 of file ntddstor.h.

◆ DeviceDsmAction_NvCache_Evict

#define DeviceDsmAction_NvCache_Evict   (0x0000000Fu | DeviceDsmActionFlag_NonDestructive)

Definition at line 290 of file ntddstor.h.

◆ DeviceDsmAction_OffloadRead

#define DeviceDsmAction_OffloadRead   (0x00000003u | DeviceDsmActionFlag_NonDestructive)

Definition at line 278 of file ntddstor.h.

◆ DeviceDsmAction_OffloadWrite

#define DeviceDsmAction_OffloadWrite   (0x00000004u)

Definition at line 279 of file ntddstor.h.

◆ DeviceDsmAction_OpenZone

#define DeviceDsmAction_OpenZone   (0x00000014u | DeviceDsmActionFlag_NonDestructive)

Definition at line 295 of file ntddstor.h.

◆ DeviceDsmAction_RegenerateParity

#define DeviceDsmAction_RegenerateParity   (0x0000000Du | DeviceDsmActionFlag_NonDestructive)

Definition at line 288 of file ntddstor.h.

◆ DeviceDsmAction_Repair

#define DeviceDsmAction_Repair   (0x00000006u | DeviceDsmActionFlag_NonDestructive)

Definition at line 281 of file ntddstor.h.

◆ DeviceDsmAction_ReportZones

#define DeviceDsmAction_ReportZones   (0x00000013u | DeviceDsmActionFlag_NonDestructive)

Definition at line 294 of file ntddstor.h.

◆ DeviceDsmAction_ResetWritePointer

#define DeviceDsmAction_ResetWritePointer   (0x00000017u)

Definition at line 298 of file ntddstor.h.

◆ DeviceDsmAction_ScopeRegen

#define DeviceDsmAction_ScopeRegen   (0x00000012u | DeviceDsmActionFlag_NonDestructive)

Definition at line 293 of file ntddstor.h.

◆ DeviceDsmAction_Scrub

#define DeviceDsmAction_Scrub   (0x00000007u | DeviceDsmActionFlag_NonDestructive)

Definition at line 282 of file ntddstor.h.

◆ DeviceDsmAction_TieringQuery

#define DeviceDsmAction_TieringQuery   (0x0000000Bu | DeviceDsmActionFlag_NonDestructive)

Definition at line 286 of file ntddstor.h.

◆ DeviceDsmAction_TopologyIdQuery

#define DeviceDsmAction_TopologyIdQuery   (0x00000010u | DeviceDsmActionFlag_NonDestructive)

Definition at line 291 of file ntddstor.h.

◆ DeviceDsmAction_Trim

#define DeviceDsmAction_Trim   0x1u

Definition at line 276 of file ntddstor.h.

◆ DeviceDsmAction_VdtSet

#define DeviceDsmAction_VdtSet   (0x0000001Du)

Definition at line 304 of file ntddstor.h.

◆ DeviceDsmAction_WriteZeroes

#define DeviceDsmAction_WriteZeroes   (0x00000019u)

Definition at line 300 of file ntddstor.h.

◆ DeviceDsmActionFlag_NonDestructive

#define DeviceDsmActionFlag_NonDestructive   0x80000000

Definition at line 271 of file ntddstor.h.

◆ DeviceDsmDefinition_Allocation

#define DeviceDsmDefinition_Allocation

◆ DeviceDsmDefinition_OffloadRead

#define DeviceDsmDefinition_OffloadRead

◆ DeviceDsmDefinition_OffloadWrite

◆ 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 190 of file ntddstor.h.

◆ IOCTL_STORAGE_ATTRIBUTE_MANAGEMENT

#define IOCTL_STORAGE_ATTRIBUTE_MANAGEMENT    CTL_CODE(IOCTL_STORAGE_BASE, 0x0727, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 235 of file ntddstor.h.

◆ IOCTL_STORAGE_BASE

#define IOCTL_STORAGE_BASE   FILE_DEVICE_MASS_STORAGE

Definition at line 96 of file ntddstor.h.

◆ IOCTL_STORAGE_BC_VERSION

#define IOCTL_STORAGE_BC_VERSION   1

Definition at line 311 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 166 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 196 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 98 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 101 of file ntddstor.h.

◆ IOCTL_STORAGE_DEVICE_POWER_CAP

#define IOCTL_STORAGE_DEVICE_POWER_CAP    CTL_CODE(IOCTL_STORAGE_BASE, 0x0725, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 229 of file ntddstor.h.

◆ IOCTL_STORAGE_DIAGNOSTIC

#define IOCTL_STORAGE_DIAGNOSTIC    CTL_CODE(IOCTL_STORAGE_BASE, 0x0728, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 238 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 107 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 125 of file ntddstor.h.

◆ IOCTL_STORAGE_ENABLE_IDLE_POWER

#define IOCTL_STORAGE_ENABLE_IDLE_POWER    CTL_CODE(IOCTL_STORAGE_BASE, 0x0720, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 214 of file ntddstor.h.

◆ IOCTL_STORAGE_EVENT_NOTIFICATION

#define IOCTL_STORAGE_EVENT_NOTIFICATION    CTL_CODE(IOCTL_STORAGE_BASE, 0x0724, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 226 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 122 of file ntddstor.h.

◆ IOCTL_STORAGE_FIRMWARE_ACTIVATE

#define IOCTL_STORAGE_FIRMWARE_ACTIVATE    CTL_CODE(IOCTL_STORAGE_BASE, 0x0702, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 211 of file ntddstor.h.

◆ IOCTL_STORAGE_FIRMWARE_DOWNLOAD

#define IOCTL_STORAGE_FIRMWARE_DOWNLOAD    CTL_CODE(IOCTL_STORAGE_BASE, 0x0701, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 208 of file ntddstor.h.

◆ IOCTL_STORAGE_FIRMWARE_GET_INFO

#define IOCTL_STORAGE_FIRMWARE_GET_INFO    CTL_CODE(IOCTL_STORAGE_BASE, 0x0700, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 205 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 193 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 187 of file ntddstor.h.

◆ IOCTL_STORAGE_GET_DEVICE_INTERNAL_LOG

#define IOCTL_STORAGE_GET_DEVICE_INTERNAL_LOG    CTL_CODE(IOCTL_STORAGE_BASE, 0x0731, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 247 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 143 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 154 of file ntddstor.h.

◆ IOCTL_STORAGE_GET_IDLE_POWERUP_REASON

#define IOCTL_STORAGE_GET_IDLE_POWERUP_REASON    CTL_CODE(IOCTL_STORAGE_BASE, 0x0721, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 217 of file ntddstor.h.

◆ IOCTL_STORAGE_GET_LB_PROVISIONING_MAP_RESOURCES

#define IOCTL_STORAGE_GET_LB_PROVISIONING_MAP_RESOURCES    CTL_CODE(IOCTL_STORAGE_BASE, 0x0502, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 184 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 151 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 131 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 134 of file ntddstor.h.

◆ IOCTL_STORAGE_GET_PHYSICAL_ELEMENT_STATUS

#define IOCTL_STORAGE_GET_PHYSICAL_ELEMENT_STATUS    CTL_CODE(IOCTL_STORAGE_BASE, 0x0729, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 241 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 110 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 113 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 181 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 128 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 104 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 169 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 172 of file ntddstor.h.

◆ IOCTL_STORAGE_POWER_ACTIVE

#define IOCTL_STORAGE_POWER_ACTIVE    CTL_CODE(IOCTL_STORAGE_BASE, 0x0722, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 220 of file ntddstor.h.

◆ IOCTL_STORAGE_POWER_IDLE

#define IOCTL_STORAGE_POWER_IDLE    CTL_CODE(IOCTL_STORAGE_BASE, 0x0723, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 223 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 146 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 178 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 175 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 119 of file ntddstor.h.

◆ IOCTL_STORAGE_REMOVE_ELEMENT_AND_TRUNCATE

#define IOCTL_STORAGE_REMOVE_ELEMENT_AND_TRUNCATE    CTL_CODE(IOCTL_STORAGE_BASE, 0x0730, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 244 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 116 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 137 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 140 of file ntddstor.h.

◆ IOCTL_STORAGE_RPMB_COMMAND

#define IOCTL_STORAGE_RPMB_COMMAND    CTL_CODE(IOCTL_STORAGE_BASE, 0x0726, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 232 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 157 of file ntddstor.h.

◆ IOCTL_STORAGE_START_DATA_INTEGRITY_CHECK

#define IOCTL_STORAGE_START_DATA_INTEGRITY_CHECK    CTL_CODE(IOCTL_STORAGE_BASE, 0x0621, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 199 of file ntddstor.h.

◆ IOCTL_STORAGE_STOP_DATA_INTEGRITY_CHECK

#define IOCTL_STORAGE_STOP_DATA_INTEGRITY_CHECK    CTL_CODE(IOCTL_STORAGE_BASE, 0x0622, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 202 of file ntddstor.h.

◆ IS_ZERO_TOKEN

#define IS_ZERO_TOKEN (   T)
Value:
( \
(((PSTORAGE_OFFLOAD_TOKEN)T)->TokenType[0] == 0xFF && \
((PSTORAGE_OFFLOAD_TOKEN)T)->TokenType[1] == 0xFF && \
((PSTORAGE_OFFLOAD_TOKEN)T)->TokenType[2] == 0x00 && \
((PSTORAGE_OFFLOAD_TOKEN)T)->TokenType[3] == 0x01 && \
((PSTORAGE_OFFLOAD_TOKEN)T)->TokenIdLength[0] == 0x01 && \
((PSTORAGE_OFFLOAD_TOKEN)T)->TokenIdLength[1] == 0xF8) \
)
#define T
Definition: mbstring.h:31
struct _STORAGE_OFFLOAD_TOKEN * PSTORAGE_OFFLOAD_TOKEN

Definition at line 1011 of file ntddstor.h.

◆ IsDsmActionNonDestructive

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

Definition at line 273 of file ntddstor.h.

◆ IsKeyReadCopyNumber

#define IsKeyReadCopyNumber (   _k)    (((_k) & 0xFFFFFE00) == READ_COPY_NUMBER_KEY)

Definition at line 1072 of file ntddstor.h.

◆ IsKeyReadCopyNumberBypassCache

#define IsKeyReadCopyNumberBypassCache (   _k)    ((_k) & READ_COPY_NUMBER_BYPASS_CACHE_FLAG)

Definition at line 1074 of file ntddstor.h.

◆ MAKE_ZERO_TOKEN

#define MAKE_ZERO_TOKEN (   T)
Value:
( \
((PSTORAGE_OFFLOAD_TOKEN)T)->TokenType[0] = 0xFF, \
((PSTORAGE_OFFLOAD_TOKEN)T)->TokenType[1] = 0xFF, \
((PSTORAGE_OFFLOAD_TOKEN)T)->TokenType[2] = 0x00, \
((PSTORAGE_OFFLOAD_TOKEN)T)->TokenType[3] = 0x01, \
((PSTORAGE_OFFLOAD_TOKEN)T)->TokenIdLength[0] = 0x01, \
((PSTORAGE_OFFLOAD_TOKEN)T)->TokenIdLength[1] = 0xF8 \
)

Definition at line 1002 of file ntddstor.h.

◆ MEDIA_CURRENTLY_MOUNTED

#define MEDIA_CURRENTLY_MOUNTED   0x80000000

Definition at line 267 of file ntddstor.h.

◆ MEDIA_ERASEABLE

#define MEDIA_ERASEABLE   0x00000001

Definition at line 262 of file ntddstor.h.

◆ MEDIA_READ_ONLY

#define MEDIA_READ_ONLY   0x00000004

Definition at line 264 of file ntddstor.h.

◆ MEDIA_READ_WRITE

#define MEDIA_READ_WRITE   0x00000008

Definition at line 265 of file ntddstor.h.

◆ MEDIA_WRITE_ONCE

#define MEDIA_WRITE_ONCE   0x00000002

Definition at line 263 of file ntddstor.h.

◆ MEDIA_WRITE_PROTECTED

#define MEDIA_WRITE_PROTECTED   0x00000100

Definition at line 266 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 160 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 163 of file ntddstor.h.

◆ READ_COMPRESSION_INFO_VALID

#define READ_COMPRESSION_INFO_VALID   0x00000020

Definition at line 255 of file ntddstor.h.

◆ READ_COPY_NUMBER_BYPASS_CACHE_FLAG

#define READ_COPY_NUMBER_BYPASS_CACHE_FLAG   0x00000100

Definition at line 1070 of file ntddstor.h.

◆ READ_COPY_NUMBER_KEY

#define READ_COPY_NUMBER_KEY   0x52434e00

Definition at line 1069 of file ntddstor.h.

◆ ReadCopyNumberFromKey

#define ReadCopyNumberFromKey (   _k)    (UCHAR)((_k) & 0x000000FF)

Definition at line 1078 of file ntddstor.h.

◆ ReadCopyNumberToKey

#define ReadCopyNumberToKey (   _c)    (READ_COPY_NUMBER_KEY | (UCHAR)(_c))

Definition at line 1077 of file ntddstor.h.

◆ RECOVERED_READS_VALID

#define RECOVERED_READS_VALID   0x00000004

Definition at line 252 of file ntddstor.h.

◆ RECOVERED_WRITES_VALID

#define RECOVERED_WRITES_VALID   0x00000001

Definition at line 250 of file ntddstor.h.

◆ SetReadCopyNumberBypassCacheToKey

#define SetReadCopyNumberBypassCacheToKey (   _k)    ((_k) |= READ_COPY_NUMBER_BYPASS_CACHE_FLAG)

Definition at line 1075 of file ntddstor.h.

◆ STORAGE_EVENT_ALL

◆ STORAGE_EVENT_DEVICE_OPERATION

#define STORAGE_EVENT_DEVICE_OPERATION   0x0000000000000004

Definition at line 983 of file ntddstor.h.

◆ STORAGE_EVENT_DEVICE_STATUS

#define STORAGE_EVENT_DEVICE_STATUS   0x0000000000000002

Definition at line 982 of file ntddstor.h.

◆ STORAGE_EVENT_MEDIA_STATUS

#define STORAGE_EVENT_MEDIA_STATUS   0x0000000000000001

Definition at line 981 of file ntddstor.h.

◆ STORAGE_EVENT_NOTIFICATION_VERSION_V1

#define STORAGE_EVENT_NOTIFICATION_VERSION_V1   1

Definition at line 979 of file ntddstor.h.

◆ STORAGE_IDLE_POWERUP_REASON_VERSION_V1

#define STORAGE_IDLE_POWERUP_REASON_VERSION_V1   1

Definition at line 1105 of file ntddstor.h.

◆ STORAGE_OFFLOAD_MAX_TOKEN_LENGTH

#define STORAGE_OFFLOAD_MAX_TOKEN_LENGTH   512

Definition at line 986 of file ntddstor.h.

◆ STORAGE_OFFLOAD_READ_RANGE_TRUNCATED

#define STORAGE_OFFLOAD_READ_RANGE_TRUNCATED   0x00000001

Definition at line 1026 of file ntddstor.h.

◆ STORAGE_OFFLOAD_TOKEN_ID_LENGTH

#define STORAGE_OFFLOAD_TOKEN_ID_LENGTH   0x1F8

Definition at line 987 of file ntddstor.h.

◆ STORAGE_OFFLOAD_TOKEN_INVALID

#define STORAGE_OFFLOAD_TOKEN_INVALID   0x0002

Definition at line 1052 of file ntddstor.h.

◆ STORAGE_OFFLOAD_TOKEN_TYPE_ZERO_DATA

#define STORAGE_OFFLOAD_TOKEN_TYPE_ZERO_DATA   0xFFFF0001

Definition at line 988 of file ntddstor.h.

◆ STORAGE_OFFLOAD_WRITE_RANGE_TRUNCATED

#define STORAGE_OFFLOAD_WRITE_RANGE_TRUNCATED   0x0001

Definition at line 1051 of file ntddstor.h.

◆ STORAGE_PRIORITY_HINT_SUPPORTED

#define STORAGE_PRIORITY_HINT_SUPPORTED   0x0001

Definition at line 313 of file ntddstor.h.

◆ StorageIdTypeNAA

#define StorageIdTypeNAA   StorageIdTypeFCPHName

Definition at line 269 of file ntddstor.h.

◆ TAPE_RESET_STATISTICS

#define TAPE_RESET_STATISTICS   2L

Definition at line 259 of file ntddstor.h.

◆ TAPE_RETURN_ENV_INFO

#define TAPE_RETURN_ENV_INFO   1L

Definition at line 258 of file ntddstor.h.

◆ TAPE_RETURN_STATISTICS

#define TAPE_RETURN_STATISTICS   0L

Definition at line 257 of file ntddstor.h.

◆ UNRECOVERED_READS_VALID

#define UNRECOVERED_READS_VALID   0x00000008

Definition at line 253 of file ntddstor.h.

◆ UNRECOVERED_WRITES_VALID

#define UNRECOVERED_WRITES_VALID   0x00000002

Definition at line 251 of file ntddstor.h.

◆ WRITE_COMPRESSION_INFO_VALID

#define WRITE_COMPRESSION_INFO_VALID   0x00000010

Definition at line 254 of file ntddstor.h.

Typedef Documentation

◆ CLASS_MEDIA_CHANGE_CONTEXT

◆ DEVICE_COPY_OFFLOAD_DESCRIPTOR

◆ DEVICE_DATA_MANAGEMENT_SET_ACTION

Definition at line 762 of file ntddstor.h.

◆ DEVICE_DATA_SET_LB_PROVISIONING_STATE

◆ DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2

◆ DEVICE_DATA_SET_LBP_STATE_PARAMETERS

◆ DEVICE_DATA_SET_RANGE

◆ DEVICE_DSM_ALLOCATION_OUTPUT

◆ DEVICE_DSM_ALLOCATION_OUTPUT2

◆ DEVICE_DSM_ALLOCATION_PARAMETERS

◆ DEVICE_DSM_NOTIFICATION_PARAMETERS

◆ DEVICE_DSM_OFFLOAD_READ_PARAMETERS

◆ DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS

◆ DEVICE_LB_PROVISIONING_DESCRIPTOR

◆ DEVICE_MANAGE_DATA_SET_ATTRIBUTES

◆ DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT

◆ DEVICE_MEDIA_INFO

◆ DEVICE_POWER_DESCRIPTOR

◆ DEVICE_SEEK_PENALTY_DESCRIPTOR

◆ DEVICE_TRIM_DESCRIPTOR

◆ DEVICE_WRITE_AGGREGATION_DESCRIPTOR

◆ GET_MEDIA_TYPES

◆ PCLASS_MEDIA_CHANGE_CONTEXT

◆ PDEVICE_COPY_OFFLOAD_DESCRIPTOR

◆ PDEVICE_DATA_SET_LB_PROVISIONING_STATE

◆ PDEVICE_DATA_SET_LB_PROVISIONING_STATE_V2

◆ PDEVICE_DATA_SET_LBP_STATE_PARAMETERS

◆ PDEVICE_DATA_SET_RANGE

◆ PDEVICE_DSM_ALLOCATION_OUTPUT

◆ PDEVICE_DSM_ALLOCATION_OUTPUT2

◆ PDEVICE_DSM_ALLOCATION_PARAMETERS

◆ PDEVICE_DSM_NOTIFICATION_PARAMETERS

◆ PDEVICE_DSM_OFFLOAD_READ_PARAMETERS

◆ PDEVICE_DSM_OFFLOAD_WRITE_PARAMETERS

◆ PDEVICE_LB_PROVISIONING_DESCRIPTOR

◆ PDEVICE_MANAGE_DATA_SET_ATTRIBUTES

◆ PDEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT

◆ PDEVICE_MEDIA_INFO

◆ PDEVICE_POWER_DESCRIPTOR

◆ PDEVICE_SEEK_PENALTY_DESCRIPTOR

◆ PDEVICE_TRIM_DESCRIPTOR

◆ PDEVICE_WRITE_AGGREGATION_DESCRIPTOR

◆ PERSISTENT_RESERVE_COMMAND

◆ PGET_MEDIA_TYPES

◆ PPERSISTENT_RESERVE_COMMAND

◆ 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_EVENT_NOTIFICATION

◆ PSTORAGE_GET_BC_PROPERTIES_OUTPUT

◆ PSTORAGE_HOTPLUG_INFO

◆ PSTORAGE_ID_NAA_FORMAT

◆ PSTORAGE_IDENTIFIER

◆ PSTORAGE_IDENTIFIER_CODE_SET

◆ PSTORAGE_IDENTIFIER_TYPE

◆ PSTORAGE_IDLE_POWER

◆ PSTORAGE_IDLE_POWERUP_REASON

◆ PSTORAGE_LB_PROVISIONING_MAP_RESOURCES

◆ PSTORAGE_MEDIA_SERIAL_NUMBER_DATA

◆ PSTORAGE_MEDIA_TYPE

◆ PSTORAGE_MINIPORT_DESCRIPTOR

◆ PSTORAGE_OFFLOAD_READ_OUTPUT

◆ PSTORAGE_OFFLOAD_TOKEN

◆ PSTORAGE_OFFLOAD_WRITE_OUTPUT

◆ PSTORAGE_PORT_CODE_SET

◆ PSTORAGE_POWERUP_REASON_TYPE

◆ 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_EVENT_NOTIFICATION

◆ STORAGE_GET_BC_PROPERTIES_OUTPUT

◆ STORAGE_HOTPLUG_INFO

◆ STORAGE_ID_NAA_FORMAT

◆ STORAGE_IDENTIFIER

◆ STORAGE_IDENTIFIER_CODE_SET

◆ STORAGE_IDENTIFIER_TYPE

◆ STORAGE_IDLE_POWER

◆ STORAGE_IDLE_POWERUP_REASON

◆ STORAGE_LB_PROVISIONING_MAP_RESOURCES

◆ STORAGE_MEDIA_SERIAL_NUMBER_DATA

◆ STORAGE_MEDIA_TYPE

◆ STORAGE_MINIPORT_DESCRIPTOR

◆ STORAGE_OFFLOAD_READ_OUTPUT

◆ STORAGE_OFFLOAD_TOKEN

◆ STORAGE_OFFLOAD_WRITE_OUTPUT

◆ STORAGE_PORT_CODE_SET

◆ STORAGE_POWERUP_REASON_TYPE

◆ 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 722 of file ntddstor.h.

722 {
enum _STORAGE_ASSOCIATION_TYPE STORAGE_ASSOCIATION_TYPE
enum _STORAGE_ASSOCIATION_TYPE * PSTORAGE_ASSOCIATION_TYPE
@ StorageIdAssocPort
Definition: ntddstor.h:724
@ StorageIdAssocTarget
Definition: ntddstor.h:725
@ StorageIdAssocDevice
Definition: ntddstor.h:723

◆ _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 437 of file ntddstor.h.

437 {
438 BusTypeUnknown = 0x00,
450 BusTypeSd,
455 BusTypeMaxReserved = 0x7F
@ BusTypeScsi
Definition: ntddstor.h:439
@ BusTypeMmc
Definition: ntddstor.h:451
@ BusTypeiScsi
Definition: ntddstor.h:447
@ BusTypeSd
Definition: ntddstor.h:450
@ BusTypeMaxReserved
Definition: ntddstor.h:455
@ BusTypeFileBackedVirtual
Definition: ntddstor.h:453
@ BusTypeUsb
Definition: ntddstor.h:445
@ BusTypeSsa
Definition: ntddstor.h:443
@ BusTypeSas
Definition: ntddstor.h:448
@ BusTypeMax
Definition: ntddstor.h:454
@ BusTypeSata
Definition: ntddstor.h:449
@ BusTypeRAID
Definition: ntddstor.h:446
@ BusTypeVirtual
Definition: ntddstor.h:452
@ BusTypeFibre
Definition: ntddstor.h:444
@ BusTypeAtapi
Definition: ntddstor.h:440
@ BusTypeUnknown
Definition: ntddstor.h:438
@ BusType1394
Definition: ntddstor.h:442
@ BusTypeAta
Definition: ntddstor.h:441
enum _STORAGE_BUS_TYPE * PSTORAGE_BUS_TYPE
enum _STORAGE_BUS_TYPE STORAGE_BUS_TYPE

◆ _STORAGE_ID_NAA_FORMAT

Enumerator
StorageIdNAAFormatIEEEExtended 
StorageIdNAAFormatIEEERegistered 
StorageIdNAAFormatIEEEERegisteredExtended 

Definition at line 716 of file ntddstor.h.

716 {
enum _STORAGE_ID_NAA_FORMAT * PSTORAGE_ID_NAA_FORMAT
enum _STORAGE_ID_NAA_FORMAT STORAGE_ID_NAA_FORMAT
@ StorageIdNAAFormatIEEERegistered
Definition: ntddstor.h:718
@ StorageIdNAAFormatIEEEERegisteredExtended
Definition: ntddstor.h:719
@ StorageIdNAAFormatIEEEExtended
Definition: ntddstor.h:717

◆ _STORAGE_IDENTIFIER_CODE_SET

Enumerator
StorageIdCodeSetReserved 
StorageIdCodeSetBinary 
StorageIdCodeSetAscii 
StorageIdCodeSetUtf8 

Definition at line 697 of file ntddstor.h.

697 {
enum _STORAGE_IDENTIFIER_CODE_SET * PSTORAGE_IDENTIFIER_CODE_SET
enum _STORAGE_IDENTIFIER_CODE_SET STORAGE_IDENTIFIER_CODE_SET
@ StorageIdCodeSetUtf8
Definition: ntddstor.h:701
@ StorageIdCodeSetBinary
Definition: ntddstor.h:699
@ StorageIdCodeSetReserved
Definition: ntddstor.h:698
@ StorageIdCodeSetAscii
Definition: ntddstor.h:700

◆ _STORAGE_IDENTIFIER_TYPE

Enumerator
StorageIdTypeVendorSpecific 
StorageIdTypeVendorId 
StorageIdTypeEUI64 
StorageIdTypeFCPHName 
StorageIdTypePortRelative 
StorageIdTypeTargetPortGroup 
StorageIdTypeLogicalUnitGroup 
StorageIdTypeMD5LogicalUnitIdentifier 
StorageIdTypeScsiNameString 

Definition at line 704 of file ntddstor.h.

704 {
enum _STORAGE_IDENTIFIER_TYPE * PSTORAGE_IDENTIFIER_TYPE
@ StorageIdTypeLogicalUnitGroup
Definition: ntddstor.h:711
@ StorageIdTypeEUI64
Definition: ntddstor.h:707
@ StorageIdTypePortRelative
Definition: ntddstor.h:709
@ StorageIdTypeMD5LogicalUnitIdentifier
Definition: ntddstor.h:712
@ StorageIdTypeFCPHName
Definition: ntddstor.h:708
@ StorageIdTypeTargetPortGroup
Definition: ntddstor.h:710
@ StorageIdTypeVendorId
Definition: ntddstor.h:706
@ StorageIdTypeScsiNameString
Definition: ntddstor.h:713
@ StorageIdTypeVendorSpecific
Definition: ntddstor.h:705
enum _STORAGE_IDENTIFIER_TYPE STORAGE_IDENTIFIER_TYPE

◆ _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 367 of file ntddstor.h.

367 {
368 DDS_4mm = 0x20,
369 MiniQic,
370 Travan,
371 QIC,
372 MP_8mm,
373 AME_8mm,
374 AIT1_8mm,
375 DLT,
376 NCTP,
377 IBM_3480,
378 IBM_3490E,
382 SONY_DTF,
383 DV_6mm,
384 DMI,
385 SONY_D2,
387 CD_ROM,
388 CD_R,
389 CD_RW,
390 DVD_ROM,
391 DVD_R,
392 DVD_RW,
393 MO_3_RW,
394 MO_5_WO,
395 MO_5_RW,
397 PC_5_WO,
398 PC_5_RW,
399 PD_5_RW,
400 ABL_5_WO,
414 AVATAR_F2,
415 MP2_8mm,
416 DST_S,
417 DST_M,
418 DST_L,
419 VXATape_1,
420 VXATape_2,
421#if (NTDDI_VERSION < NTDDI_WINXP)
422 STK_EAGLE,
423#else
424 STK_9840,
425#endif
428 DVD_RAM,
429 AIT_8mm,
430 ADR_1,
431 ADR_2,
432 STK_9940,
433 SAIT,
434 VXATape
@ STK_EAGLE
Definition: cdrw_usr.h:274
enum _STORAGE_MEDIA_TYPE STORAGE_MEDIA_TYPE
enum _STORAGE_MEDIA_TYPE * PSTORAGE_MEDIA_TYPE
@ SYQUEST_EZ135
Definition: ntddstor.h:411
@ NCTP
Definition: ntddstor.h:376
@ VXATape_1
Definition: ntddstor.h:419
@ SONY_DTF
Definition: ntddstor.h:382
@ AIT1_8mm
Definition: ntddstor.h:374
@ IOMEGA_JAZ
Definition: ntddstor.h:410
@ CD_R
Definition: ntddstor.h:388
@ KODAK_14_WO
Definition: ntddstor.h:406
@ DST_M
Definition: ntddstor.h:417
@ SYQUEST_EZFLYER
Definition: ntddstor.h:412
@ SYQUEST_SYJET
Definition: ntddstor.h:413
@ DST_L
Definition: ntddstor.h:418
@ CD_ROM
Definition: ntddstor.h:387
@ PC_5_WO
Definition: ntddstor.h:397
@ DVD_RW
Definition: ntddstor.h:392
@ DV_6mm
Definition: ntddstor.h:383
@ PHILIPS_12_WO
Definition: ntddstor.h:403
@ DMI
Definition: ntddstor.h:384
@ AME_8mm
Definition: ntddstor.h:373
@ IBM_3480
Definition: ntddstor.h:377
@ SAIT
Definition: ntddstor.h:433
@ AIT_8mm
Definition: ntddstor.h:429
@ CLEANER_CARTRIDGE
Definition: ntddstor.h:386
@ QIC
Definition: ntddstor.h:371
@ HITACHI_12_WO
Definition: ntddstor.h:404
@ VXATape
Definition: ntddstor.h:434
@ MP_8mm
Definition: ntddstor.h:372
@ STK_DATA_D3
Definition: ntddstor.h:381
@ PC_5_RW
Definition: ntddstor.h:398
@ IOMEGA_ZIP
Definition: ntddstor.h:409
@ PINNACLE_APEX_5_RW
Definition: ntddstor.h:401
@ DVD_R
Definition: ntddstor.h:391
@ ABL_5_WO
Definition: ntddstor.h:400
@ DLT
Definition: ntddstor.h:375
@ SONY_D2
Definition: ntddstor.h:385
@ CYGNET_12_WO
Definition: ntddstor.h:405
@ MO_3_RW
Definition: ntddstor.h:393
@ DVD_ROM
Definition: ntddstor.h:390
@ DDS_4mm
Definition: ntddstor.h:368
@ MP2_8mm
Definition: ntddstor.h:415
@ IBM_Magstar_3590
Definition: ntddstor.h:379
@ IBM_Magstar_MP
Definition: ntddstor.h:380
@ LTO_Ultrium
Definition: ntddstor.h:426
@ ADR_1
Definition: ntddstor.h:430
@ STK_9940
Definition: ntddstor.h:432
@ IBM_3490E
Definition: ntddstor.h:378
@ CD_RW
Definition: ntddstor.h:389
@ VXATape_2
Definition: ntddstor.h:420
@ NIKON_12_RW
Definition: ntddstor.h:408
@ DVD_RAM
Definition: ntddstor.h:428
@ DST_S
Definition: ntddstor.h:416
@ LTO_Accelis
Definition: ntddstor.h:427
@ MO_5_RW
Definition: ntddstor.h:395
@ ADR_2
Definition: ntddstor.h:431
@ SONY_12_WO
Definition: ntddstor.h:402
@ MiniQic
Definition: ntddstor.h:369
@ Travan
Definition: ntddstor.h:370
@ PD_5_RW
Definition: ntddstor.h:399
@ MO_NFR_525
Definition: ntddstor.h:407
@ AVATAR_F2
Definition: ntddstor.h:414
@ STK_9840
Definition: ntddstor.h:424
@ MO_5_WO
Definition: ntddstor.h:394
@ MO_5_LIMDOW
Definition: ntddstor.h:396

◆ _STORAGE_PORT_CODE_SET

Enumerator
StoragePortCodeSetReserved 
StoragePortCodeSetStorport 
StoragePortCodeSetSCSIport 
StoragePortCodeSetSpaceport 
StoragePortCodeSetATAport 
StoragePortCodeSetUSBport 
StoragePortCodeSetSBP2port 
StoragePortCodeSetSDport 

Definition at line 617 of file ntddstor.h.

617 {
enum _STORAGE_PORT_CODE_SET * PSTORAGE_PORT_CODE_SET
enum _STORAGE_PORT_CODE_SET STORAGE_PORT_CODE_SET
@ StoragePortCodeSetReserved
Definition: ntddstor.h:618
@ StoragePortCodeSetStorport
Definition: ntddstor.h:619
@ StoragePortCodeSetATAport
Definition: ntddstor.h:622
@ StoragePortCodeSetSBP2port
Definition: ntddstor.h:624
@ StoragePortCodeSetUSBport
Definition: ntddstor.h:623
@ StoragePortCodeSetSpaceport
Definition: ntddstor.h:621
@ StoragePortCodeSetSCSIport
Definition: ntddstor.h:620
@ StoragePortCodeSetSDport
Definition: ntddstor.h:625

◆ _STORAGE_POWERUP_REASON_TYPE

Enumerator
StoragePowerupUnknown 
StoragePowerupIO 
StoragePowerupDeviceAttention 

Definition at line 1092 of file ntddstor.h.

1092 {
enum _STORAGE_POWERUP_REASON_TYPE STORAGE_POWERUP_REASON_TYPE
enum _STORAGE_POWERUP_REASON_TYPE * PSTORAGE_POWERUP_REASON_TYPE
@ StoragePowerupUnknown
Definition: ntddstor.h:1093
@ StoragePowerupIO
Definition: ntddstor.h:1094
@ StoragePowerupDeviceAttention
Definition: ntddstor.h:1095

◆ _STORAGE_PROPERTY_ID

Enumerator
StorageDeviceProperty 
StorageAdapterProperty 
StorageDeviceIdProperty 
StorageDeviceUniqueIdProperty 
StorageDeviceWriteCacheProperty 
StorageMiniportProperty 
StorageAccessAlignmentProperty 
StorageDeviceSeekPenaltyProperty 
StorageDeviceTrimProperty 
StorageDeviceWriteAggregationProperty 
StorageDeviceDeviceTelemetryProperty 
StorageDeviceLBProvisioningProperty 
StorageDevicePowerProperty 
StorageDeviceCopyOffloadProperty 
StorageDeviceResiliencyProperty 
StorageDeviceMediumProductType 
StorageAdapterRpmbProperty 
StorageAdapterCryptoProperty 
StorageDeviceTieringProperty 
StorageDeviceFaultDomainProperty 
StorageDeviceClusportProperty 
StorageDeviceDependantDevicesProperty 
StorageDeviceIoCapabilityProperty 
StorageAdapterProtocolSpecificProperty 
StorageDeviceProtocolSpecificProperty 
StorageAdapterTemperatureProperty 
StorageDeviceTemperatureProperty 
StorageAdapterPhysicalTopologyProperty 
StorageDevicePhysicalTopologyProperty 
StorageDeviceAttributesProperty 
StorageDeviceManagementStatus 
StorageAdapterSerialNumberProperty 
StorageDeviceLocationProperty 
StorageDeviceNumaProperty 
StorageDeviceZonedDeviceProperty 
StorageDeviceUnsafeShutdownCount 
StorageDeviceEnduranceProperty 

Definition at line 511 of file ntddstor.h.

511 {
enum _STORAGE_PROPERTY_ID STORAGE_PROPERTY_ID
@ StorageMiniportProperty
Definition: ntddstor.h:517
@ StorageDeviceUniqueIdProperty
Definition: ntddstor.h:515
@ StorageDevicePhysicalTopologyProperty
Definition: ntddstor.h:540
@ StorageDeviceZonedDeviceProperty
Definition: ntddstor.h:546
@ StorageDeviceDependantDevicesProperty
Definition: ntddstor.h:533
@ StorageDeviceMediumProductType
Definition: ntddstor.h:527
@ StorageDeviceUnsafeShutdownCount
Definition: ntddstor.h:547
@ StorageAdapterRpmbProperty
Definition: ntddstor.h:528
@ StorageAdapterProtocolSpecificProperty
Definition: ntddstor.h:535
@ StorageDeviceFaultDomainProperty
Definition: ntddstor.h:531
@ StorageDeviceIoCapabilityProperty
Definition: ntddstor.h:534
@ StorageDeviceSeekPenaltyProperty
Definition: ntddstor.h:519
@ StorageAdapterPhysicalTopologyProperty
Definition: ntddstor.h:539
@ StorageDeviceIdProperty
Definition: ntddstor.h:514
@ StorageDeviceProtocolSpecificProperty
Definition: ntddstor.h:536
@ StorageDeviceLBProvisioningProperty
Definition: ntddstor.h:523
@ StorageDeviceDeviceTelemetryProperty
Definition: ntddstor.h:522
@ StorageAdapterCryptoProperty
Definition: ntddstor.h:529
@ StorageDeviceWriteAggregationProperty
Definition: ntddstor.h:521
@ StorageDeviceWriteCacheProperty
Definition: ntddstor.h:516
@ StorageDeviceTieringProperty
Definition: ntddstor.h:530
@ StorageDeviceManagementStatus
Definition: ntddstor.h:542
@ StorageAdapterProperty
Definition: ntddstor.h:513
@ StorageDeviceTemperatureProperty
Definition: ntddstor.h:538
@ StorageDeviceNumaProperty
Definition: ntddstor.h:545
@ StorageDeviceAttributesProperty
Definition: ntddstor.h:541
@ StorageDeviceLocationProperty
Definition: ntddstor.h:544
@ StorageDeviceEnduranceProperty
Definition: ntddstor.h:548
@ StorageDeviceTrimProperty
Definition: ntddstor.h:520
@ StorageDevicePowerProperty
Definition: ntddstor.h:524
@ StorageDeviceClusportProperty
Definition: ntddstor.h:532
@ StorageAdapterSerialNumberProperty
Definition: ntddstor.h:543
@ StorageAdapterTemperatureProperty
Definition: ntddstor.h:537
@ StorageDeviceCopyOffloadProperty
Definition: ntddstor.h:525
@ StorageAccessAlignmentProperty
Definition: ntddstor.h:518
@ StorageDeviceResiliencyProperty
Definition: ntddstor.h:526
@ StorageDeviceProperty
Definition: ntddstor.h:512
enum _STORAGE_PROPERTY_ID * PSTORAGE_PROPERTY_ID

◆ _STORAGE_QUERY_TYPE

Enumerator
PropertyStandardQuery 
PropertyExistsQuery 
PropertyMaskQuery 
PropertyQueryMaxDefined 

Definition at line 504 of file ntddstor.h.

504 {
enum _STORAGE_QUERY_TYPE * PSTORAGE_QUERY_TYPE
enum _STORAGE_QUERY_TYPE STORAGE_QUERY_TYPE
@ PropertyMaskQuery
Definition: ntddstor.h:507
@ PropertyQueryMaxDefined
Definition: ntddstor.h:508
@ PropertyExistsQuery
Definition: ntddstor.h:506
@ PropertyStandardQuery
Definition: ntddstor.h:505

◆ _WRITE_CACHE_CHANGE

Enumerator
WriteCacheChangeUnknown 
WriteCacheNotChangeable 
WriteCacheChangeable 

Definition at line 876 of file ntddstor.h.

876 {
enum _WRITE_CACHE_CHANGE WRITE_CACHE_CHANGE
@ WriteCacheChangeUnknown
Definition: ntddstor.h:877
@ WriteCacheChangeable
Definition: ntddstor.h:879
@ WriteCacheNotChangeable
Definition: ntddstor.h:878

◆ _WRITE_CACHE_ENABLE

Enumerator
WriteCacheEnableUnknown 
WriteCacheDisabled 
WriteCacheEnabled 

Definition at line 870 of file ntddstor.h.

870 {
enum _WRITE_CACHE_ENABLE WRITE_CACHE_ENABLE
@ WriteCacheEnableUnknown
Definition: ntddstor.h:871
@ WriteCacheDisabled
Definition: ntddstor.h:872
@ WriteCacheEnabled
Definition: ntddstor.h:873

◆ _WRITE_CACHE_TYPE

Enumerator
WriteCacheTypeUnknown 
WriteCacheTypeNone 
WriteCacheTypeWriteBack 
WriteCacheTypeWriteThrough 

Definition at line 863 of file ntddstor.h.

863 {
@ WriteCacheTypeNone
Definition: ntddstor.h:865
@ WriteCacheTypeWriteBack
Definition: ntddstor.h:866
@ WriteCacheTypeUnknown
Definition: ntddstor.h:864
@ WriteCacheTypeWriteThrough
Definition: ntddstor.h:867
enum _WRITE_CACHE_TYPE WRITE_CACHE_TYPE

◆ _WRITE_THROUGH

Enumerator
WriteThroughUnknown 
WriteThroughNotSupported 
WriteThroughSupported 

Definition at line 882 of file ntddstor.h.

882 {
@ WriteThroughSupported
Definition: ntddstor.h:885
@ WriteThroughUnknown
Definition: ntddstor.h:883
@ WriteThroughNotSupported
Definition: ntddstor.h:884
enum _WRITE_THROUGH WRITE_THROUGH

Function Documentation

◆ _Struct_size_bytes_()

typedef _Struct_size_bytes_ ( Size  )

Definition at line 557 of file ntddstor.h.

557 {
559 ULONG Size;
* PSTORAGE_DESCRIPTOR_HEADER
Definition: ntddstor.h:560
STORAGE_DESCRIPTOR_HEADER
Definition: ntddstor.h:560
uint32_t ULONG
Definition: typedefs.h:59
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version
Definition: wdffdo.h:469

Variable Documentation

◆ PSTORAGE_ACCESS_ALIGNMENT_DESCRIPTOR

* PSTORAGE_ACCESS_ALIGNMENT_DESCRIPTOR

Definition at line 609 of file ntddstor.h.

Referenced by ClasspAccessAlignmentProperty().

◆ PSTORAGE_ADAPTER_DESCRIPTOR

◆ PSTORAGE_DESCRIPTOR_HEADER

◆ PSTORAGE_DEVICE_DESCRIPTOR

◆ PSTORAGE_DEVICE_ID_DESCRIPTOR

* PSTORAGE_DEVICE_ID_DESCRIPTOR

◆ PSTORAGE_DEVICE_IO_CAPABILITY_DESCRIPTOR

* PSTORAGE_DEVICE_IO_CAPABILITY_DESCRIPTOR

Definition at line 695 of file ntddstor.h.

Referenced by InitializeTransferPackets().

◆ PSTORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR

* PSTORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR

Definition at line 615 of file ntddstor.h.

Referenced by ClasspDeviceMediaTypeProperty().

◆ PSTORAGE_READ_CAPACITY

* PSTORAGE_READ_CAPACITY

Definition at line 861 of file ntddstor.h.

Referenced by _IRQL_requires_max_(), and ClassDeviceControl().

◆ PSTORAGE_WRITE_CACHE_PROPERTY

* PSTORAGE_WRITE_CACHE_PROPERTY

Definition at line 898 of file ntddstor.h.

Referenced by ClasspWriteCacheProperty(), and RequestHandleQueryPropertyWriteCache().

◆ STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR

STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR

Definition at line 609 of file ntddstor.h.

Referenced by ClasspAccessAlignmentProperty().

◆ STORAGE_ADAPTER_DESCRIPTOR

STORAGE_ADAPTER_DESCRIPTOR

Definition at line 599 of file ntddstor.h.

Referenced by USBSTOR_HandleQueryProperty().

◆ STORAGE_DESCRIPTOR_HEADER

◆ STORAGE_DEVICE_DESCRIPTOR

◆ STORAGE_DEVICE_ID_DESCRIPTOR

STORAGE_DEVICE_ID_DESCRIPTOR

Definition at line 742 of file ntddstor.h.

Referenced by CompareStorageDuids().

◆ STORAGE_DEVICE_IO_CAPABILITY_DESCRIPTOR

STORAGE_DEVICE_IO_CAPABILITY_DESCRIPTOR

Definition at line 695 of file ntddstor.h.

◆ STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR

STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR

Definition at line 615 of file ntddstor.h.

Referenced by ClasspDeviceMediaTypeProperty().

◆ STORAGE_READ_CAPACITY

STORAGE_READ_CAPACITY

◆ STORAGE_WRITE_CACHE_PROPERTY

STORAGE_WRITE_CACHE_PROPERTY

Definition at line 898 of file ntddstor.h.

Referenced by ClasspWriteCacheProperty(), and RequestHandleQueryPropertyWriteCache().