次の方法で共有


SRBEX_DATA_NVME_COMMAND 構造体 (storport.h)

「SRBEX_DATA_NVME_COMMAND (srb.h)」を参照してください。

構文

typedef struct _SRBEX_DATA_NVME_COMMAND {
  SRBEXDATATYPE Type;
  ULONG         Length;
  union {
    PVOID     ControllerHandle;
    ULONGLONG Reserved0;
  };
  union {
    struct {
      ULONG     CommandDWORD0;
      ULONG     CommandNSID;
      ULONG     Reserved1[2];
      ULONGLONG CommandMPTR;
      union {
        struct {
          ULONGLONG CommandPRP1;
          ULONGLONG CommandPRP2;
        };
        ULONGLONG CommandSGL1[2];
      };
      ULONG     CommandCDW10;
      ULONG     CommandCDW11;
      ULONG     CommandCDW12;
      ULONG     CommandCDW13;
      ULONG     CommandCDW14;
      ULONG     CommandCDW15;
    };
    struct {
      UCHAR  OPC;
      UCHAR  PSDT;
      USHORT CID;
      UCHAR  FCTYPE;
      UCHAR  Reserved[35];
      UCHAR  Specific[24];
    } FabricsCommand;
    struct {
      ULONG OPC : 8;
      ULONG FUSE : 2;
      ULONG Reserved : 4;
      ULONG PSDT : 2;
      ULONG CID : 16;
      UCHAR TypeSpecific[60];
    } Command;
  };
  UCHAR         CommandType;
  UCHAR         Reserved2;
  USHORT        CommandFlags;
  USHORT        ResponseFlags;
  union {
    struct {
      USHORT P : 1;
      USHORT SC : 8;
      USHORT SCT : 3;
      USHORT CRD : 2;
      USHORT M : 1;
      USHORT DNR : 1;
    } DUMMYSTRUCTNAME;
    USHORT AsUshort;
  } CommandStatus;
  ULONG         QID;
  ULONG         CommandTag;
  union {
    struct {
      ULONG CQEntryDW0;
      ULONG CQEntryDW1;
    };
    UCHAR Specific[8];
  };
  USHORT        SQHD;
  USHORT        SQID;
} SRBEX_DATA_NVME_COMMAND, *PSRBEX_DATA_NVME_COMMAND;

メンバー

Type

Length

ControllerHandle

Reserved0

CommandDWORD0

CommandNSID

Reserved1[2]

CommandMPTR

CommandPRP1

CommandPRP2

CommandSGL1[2]

CommandCDW10

CommandCDW11

CommandCDW12

CommandCDW13

CommandCDW14

CommandCDW15

FabricsCommand

FabricsCommand.OPC

FabricsCommand.PSDT

FabricsCommand.CID

FabricsCommand.FCTYPE

FabricsCommand.Reserved[35]

FabricsCommand.Specific[24]

Command

Command.OPC

Command.FUSE

Command.Reserved

Command.PSDT

Command.CID

Command.TypeSpecific[60]

CommandType

Reserved2

CommandFlags

ResponseFlags

CommandStatus

CommandStatus.DUMMYSTRUCTNAME

CommandStatus.DUMMYSTRUCTNAME.P

CommandStatus.DUMMYSTRUCTNAME.SC

CommandStatus.DUMMYSTRUCTNAME.SCT

CommandStatus.DUMMYSTRUCTNAME.CRD

CommandStatus.DUMMYSTRUCTNAME.M

CommandStatus.DUMMYSTRUCTNAME.DNR

CommandStatus.AsUshort

QID

CommandTag

CQEntryDW0

CQEntryDW1

Specific[8]

SQHD

SQID

要件

要件
サポートされている最小のサーバー Windows Server 2022
Header storport.h