WRITE_USING_TOKEN_HEADER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// minitape.h

typedef struct {
  UCHAR WriteUsingTokenDataLength[2];
  UCHAR Immediate : 1;
  UCHAR Reserved1 : 7;
  UCHAR Reserved2[5];
  UCHAR BlockOffsetIntoToken[8];
  UCHAR Token[BLOCK_DEVICE_TOKEN_SIZE];
  UCHAR Reserved3[6];
  UCHAR BlockDeviceRangeDescriptorListLength[2];
  UCHAR BlockDeviceRangeDescriptor[ANYSIZE_ARRAY];
} WRITE_USING_TOKEN_HEADER, *PWRITE_USING_TOKEN_HEADER;
View the official Windows Driver Kit DDI reference
// scsi.h

typedef struct {
  UCHAR WriteUsingTokenDataLength[2];
  UCHAR Immediate : 1;
  UCHAR Reserved1 : 7;
  UCHAR Reserved2[5];
  UCHAR BlockOffsetIntoToken[8];
  UCHAR Token[BLOCK_DEVICE_TOKEN_SIZE];
  UCHAR Reserved3[6];
  UCHAR BlockDeviceRangeDescriptorListLength[2];
  UCHAR BlockDeviceRangeDescriptor[ANYSIZE_ARRAY];
} WRITE_USING_TOKEN_HEADER, *PWRITE_USING_TOKEN_HEADER;
View the official Windows Driver Kit DDI reference
// storport.h

typedef struct {
  UCHAR WriteUsingTokenDataLength[2];
  UCHAR Immediate : 1;
  UCHAR Reserved1 : 7;
  UCHAR Reserved2[5];
  UCHAR BlockOffsetIntoToken[8];
  UCHAR Token[BLOCK_DEVICE_TOKEN_SIZE];
  UCHAR Reserved3[6];
  UCHAR BlockDeviceRangeDescriptorListLength[2];
  UCHAR BlockDeviceRangeDescriptor[ANYSIZE_ARRAY];
} WRITE_USING_TOKEN_HEADER, *PWRITE_USING_TOKEN_HEADER;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-minitape-write_using_token_header)

Description

The WRITE_USING_TOKEN_HEADER structure describes the destination data locations for an offload write data operation. The offload write data operation described by this structure is associated with a token representation of data (ROD).

Members

WriteUsingTokenDataLength

The length of this structure beginning with the Immediate parameter and include all of the elements of the BlockDeviceRangeDescriptor array.

Immediate

If set, the status of the WRITE USING TOKEN command is returned immediately after receipt and validation of the token ROD and range descriptors. Otherwise, status is returned after all command processing is complete.

Reserved1

Reserved bits.

Reserved2

Reserved.

BlockOffsetIntoToken

The offset, in logical blocks, in the ROD for Token indicating the start of the source data for the offload write data operation.

Token

A token created by a previous the POPULATE TOKEN command operation.

Reserved3

Reserved.

BlockDeviceRangeDescriptorListLength

The length, in bytes, for all of the BLOCK_DEVICE_RANGE_DESCRIPTOR structures in the BlockDeviceRangeDescriptor array.

BlockDeviceRangeDescriptor

An array of BLOCK_DEVICE_RANGE_DESCRIPTOR structures which describe the destination data blocks for the offload write data transfer.

Remarks

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

See also

BLOCK_DEVICE_RANGE_DESCRIPTOR

POPULATE_TOKEN_HEADER


Windows Driver Kit DDI reference (ns-scsi-write_using_token_header)

Description

The WRITE_USING_TOKEN_HEADER structure describes the destination data locations for an offload write data operation. The offload write data operation described by this structure is associated with a token representation of data (ROD).

Members

WriteUsingTokenDataLength

The length of this structure beginning with the Immediate parameter and include all of the elements of the BlockDeviceRangeDescriptor array.

Immediate

If set, the status of the WRITE USING TOKEN command is returned immediately after receipt and validation of the token ROD and range descriptors. Otherwise, status is returned after all command processing is complete.

Reserved1

Reserved bits.

Reserved2

Reserved.

BlockOffsetIntoToken

The offset, in logical blocks, in the ROD for Token indicating the start of the source data for the offload write data operation.

Token

A token created by a previous the POPULATE TOKEN command operation.

Reserved3

Reserved.

BlockDeviceRangeDescriptorListLength

The length, in bytes, for all of the BLOCK_DEVICE_RANGE_DESCRIPTOR structures in the BlockDeviceRangeDescriptor array.

BlockDeviceRangeDescriptor

An array of BLOCK_DEVICE_RANGE_DESCRIPTOR structures which describe the destination data blocks for the offload write data transfer.

Remarks

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

See also

BLOCK_DEVICE_RANGE_DESCRIPTOR

POPULATE_TOKEN_HEADER


Windows Driver Kit DDI reference (ns-storport-write_using_token_header)

WRITE_USING_TOKEN_HEADER structure (storport.h)

Description

The WRITE_USING_TOKEN_HEADER structure describes the destination data locations for an offload write data operation. The offload write data operation described by this structure is associated with a token representation of data (ROD).

Members

WriteUsingTokenDataLength

The length of this structure beginning with the Immediate parameter and include all of the elements of the BlockDeviceRangeDescriptor array.

Immediate

If set, the status of the WRITE USING TOKEN command is returned immediately after receipt and validation of the token ROD and range descriptors. Otherwise, status is returned after all command processing is complete.

Reserved1

Reserved bits.

Reserved2

Reserved.

BlockOffsetIntoToken

The offset, in logical blocks, in the ROD for Token indicating the start of the source data for the offload write data operation.

Token

A token created by a previous the POPULATE TOKEN command operation.

Reserved3

Reserved.

BlockDeviceRangeDescriptorListLength

The length, in bytes, for all of the BLOCK_DEVICE_RANGE_DESCRIPTOR structures in the BlockDeviceRangeDescriptor array.

BlockDeviceRangeDescriptor

An array of BLOCK_DEVICE_RANGE_DESCRIPTOR structures which describe the destination data blocks for the offload write data transfer.

Remarks

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

See also

BLOCK_DEVICE_RANGE_DESCRIPTOR

POPULATE_TOKEN_HEADER