// ntddstor.h
typedef struct _STORAGE_MINIPORT_DESCRIPTOR {
ULONG Version;
ULONG Size;
STORAGE_PORT_CODE_SET Portdriver;
BOOLEAN LUNResetSupported;
BOOLEAN TargetResetSupported;
USHORT IoTimeoutValue;
BOOLEAN ExtraIoInfoSupported;
union {
struct {
UCHAR LogicalPoFxForDisk : 1;
UCHAR ForwardIo : 1;
UCHAR Reserved : 6;
} DUMMYSTRUCTNAME;
UCHAR AsUCHAR;
} Flags;
#if ...
UCHAR Reserved0[2];
#else
UCHAR Reserved0[3];
#endif
ULONG Reserved1;
} STORAGE_MINIPORT_DESCRIPTOR, *PSTORAGE_MINIPORT_DESCRIPTOR;
View the official Windows Driver Kit DDI reference
// winioctl.h
typedef struct _STORAGE_MINIPORT_DESCRIPTOR {
DWORD Version;
DWORD Size;
STORAGE_PORT_CODE_SET Portdriver;
BOOLEAN LUNResetSupported;
BOOLEAN TargetResetSupported;
WORD IoTimeoutValue;
BOOLEAN ExtraIoInfoSupported;
union {
struct {
BYTE LogicalPoFxForDisk : 1;
BYTE ForwardIo : 1;
BYTE Reserved : 6;
} DUMMYSTRUCTNAME;
BYTE AsBYTE;
} Flags;
#if ...
BYTE Reserved0[2];
#else
BYTE Reserved0[3];
#endif
DWORD Reserved1;
} STORAGE_MINIPORT_DESCRIPTOR, *PSTORAGE_MINIPORT_DESCRIPTOR;
View the official Win32 API reference
No description available.
Reserved for system use.
Version
Contains the size of this structure, in bytes. The value of this member will change as members are added to the structure.
Size
Specifies the total size of the data returned, in bytes. This may include data that follows this structure.
Portdriver
Type of port driver as enumerated by the STORAGE_PORT_CODE_SET enumeration.
LUNResetSupported
Indicates whether a LUN reset is supported.
TargetResetSupported
Indicates whether a target reset is supported.
IoTimeoutValue
The timeout value for the device, in milliseconds (ms). Introduced in Windows 8.
ExtraIoInfoSupported
Indicates whether extra I/O info is supported. Introduced in Windows 8.1
Flags
Flags.DUMMYSTRUCTNAME
Flags.DUMMYSTRUCTNAME.LogicalPoFxForDisk
Flags.DUMMYSTRUCTNAME.ForwardIo
Reserved for internal use. Do not use.
Flags.DUMMYSTRUCTNAME.Reserved
Reserved for future use.
Flags.AsUCHAR
Reserved0[2]
Reserved for future use.
Reserved0[3]
Reserved for future use.
Reserved1
Reserved for future use.
Reserved for system use.
Version
Contains the size of this structure, in bytes. The value of this member will change as members are added to the structure.
Size
Specifies the total size of the data returned, in bytes. This may include data that follows this structure.
Portdriver
Type of port driver as enumerated by the STORAGE_PORT_CODE_SET enumeration.
Value | Meaning |
---|---|
StoragePortCodeSetReserved 0 |
Indicates an unknown storage adapter driver type. |
StoragePortCodeSetStorport 1 |
Storage adapter driver is a Storport-miniport driver. |
StoragePortCodeSetSCSIport 2 |
Storage adapter driver is a SCSI Port-miniport driver. |
LUNResetSupported
Indicates whether a LUN reset is supported.
TargetResetSupported
Indicates whether a target reset is supported.
IoTimeoutValue
ExtraIoInfoSupported
Reserved0
Reserved1