SRBEX_DATA_PNP structure (srb.h)
The SRBEX_DATA_PNP structure contains the request data for an extended plug and play (PNP) SRB.
Syntax
typedef struct _SRBEX_DATA_PNP {
SRBEXDATATYPE Type;
ULONG Length;
UCHAR PnPSubFunction;
UCHAR Reserved[3];
STOR_PNP_ACTION PnPAction;
ULONG SrbPnPFlags;
ULONG Reserved1;
} SRBEX_DATA_PNP, *PSRBEX_DATA_PNP;
Members
Type
Data type indicator for the bidirectional extended SRB data structure. Set to SrbExDataTypePnp.
Length
Length of the data in this structure starting with the PnPSubFunction member. Set to SRBEX_DATA_PNP_LENGTH.
PnPSubFunction
This member is not currently used. Set to 0.
Reserved[3]
This member is reserved. Set to 0.
PnPAction
The plug and play action to perform. This member can have one of the following values:
SrbPnPFlags
Indicates that the PNP request is for the adapter if SRB_PNP_FLAGS_ADAPTER_REQUEST is set and that storage device address is reserved. Otherwise, SrbPnPFlags will be NULL, indicating that the request is for the storage device specified by an address at AddressOffset in the STORAGE_REQUEST_BLOCK structure.
Reserved1
This member is reserved. Set to 0.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 8. |
Header | srb.h (include Storport.h, Srb.h, Minitape.h) |