BLOCK_DEVICE_RANGE_DESCRIPTOR structure

The BLOCK_DEVICE_RANGE_DESCRIPTOR structure describes a range of logical blocks associated with various fragments of a file for an offload copy operation.

Syntax


typedef struct _BLOCK_DEVICE_RANGE_DESCRIPTOR {
  UCHAR LogicalBlockAddress[8];
  UCHAR TransferLength[4];
  UCHAR Reserved[4];
} BLOCK_DEVICE_RANGE_DESCRIPTOR, *PBLOCK_DEVICE_RANGE_DESCRIPTOR;

Members

LogicalBlockAddress

The starting logical block address of a block range.

TransferLength

The length, in logical blocks, of the block range.

Reserved

Reserved bytes.

Remarks

If TransferLength is set to 0, the range descriptor is considered valid and does not cause an error when included in a token parameter list. No operation will be performed for this descriptor.

All multibyte values are in big endian format. Prior to setting, these values must be converted from the endian format of the current platform.

Requirements

Version

Available starting with Windows 8.

Header

Scsi.h (include Scsi.h)

See also

POPULATE_TOKEN_HEADER
WRITE_USING_TOKEN_HEADER

 

 

Send comments about this topic to Microsoft

Show: