BLOCK_DEVICE_RANGE_DESCRIPTOR structure (storport.h)

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 {
  UCHAR LogicalBlockAddress[8];
  UCHAR TransferLength[4];
  UCHAR Reserved[4];
} BLOCK_DEVICE_RANGE_DESCRIPTOR, *PBLOCK_DEVICE_RANGE_DESCRIPTOR;

Members

LogicalBlockAddress[8]

The starting logical block address of a block range.

TransferLength[4]

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

Reserved[4]

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

Requirement Value
Minimum supported client Windows 8
Header storport.h (include Scsi.h, Minitape.h, Storport.h)

See also

POPULATE_TOKEN_HEADER

WRITE_USING_TOKEN_HEADER