Hello everyone,
In the DDK, page SCSI_REQUEST_BLOCK (System Support for Buses->SCSI
Bus->Reference->SCSI Bus Structure->SCSI_REQUEST_BLOCK), the SrbFlags can
have a flag set as 'SRB_FLAGS_NO_DATA_TRANSFER'. The page says, "Indicates no
data transfer with this request. If this is set, the flags
SRB_FLAGS_DATA_OUT, SRB_FLAGS_DATA_IN, and SRB_FLAGS_UNSPECIFIED_DIRECTION
are clear"
Now when I look at the include file srb.h, this flag is '#define'd as
0x00000000. Can anyone explain this? If I am going to test the flag using
the following statement:
if( srb->SrbFlags & SRB_FLAGS_NO_DATA_TRANSFER )
{
// do all this
}
I will never have the block executed.
This got to be a bug, true or not? Thanks.