STORAGE_MINIPORT_DESCRIPTOR structure (winioctl.h)

Reserved for system use.

Syntax

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;

Members

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

Flags

Flags.DUMMYSTRUCTNAME

Flags.DUMMYSTRUCTNAME.LogicalPoFxForDisk

Flags.DUMMYSTRUCTNAME.ForwardIo

Flags.DUMMYSTRUCTNAME.Reserved

Flags.AsBYTE

Reserved0[2]

Reserved0[3]

Reserved1

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header winioctl.h (include Windows.h)

See also

Disk Management Structures

STORAGE_PORT_CODE_SET