estrutura STORAGE_OFFLOAD_WRITE_OUTPUT (ntddstor.h)

A estrutura STORAGE_OFFLOAD_WRITE_OUTPUT é a saída de uma solicitação de código de controle IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES quando o membro Action do DEVICE_DSM_INPUT é definido como DeviceDsmAction_OffloadWrite.

Sintaxe

typedef struct _STORAGE_OFFLOAD_WRITE_OUTPUT {
  ULONG     OffloadWriteFlags;
  ULONG     Reserved;
  ULONGLONG LengthCopied;
} STORAGE_OFFLOAD_WRITE_OUTPUT, *PSTORAGE_OFFLOAD_WRITE_OUTPUT;

Membros

OffloadWriteFlags

Sinalizadores que indicam o resultado da operação de gravação de descarregamento. Isso é definido como um dos seguintes.

Valor Significado
STORAGE_OFFLOAD_WRITE_RANGE_TRUNCATED A gravação de descarregamento foi executada, mas o intervalo gravado foi truncado.
STORAGE_OFFLOAD_TOKEN_INVALID O token fornecido para a operação de gravação de descarregamento era inválido.

Reserved

Reservado.

LengthCopied

Bytes copiados para a solicitação de gravação em DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS.

Comentários

Na entrada, um valor de token no DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS identifica exclusivamente os intervalos de conjuntos de dados solicitados para gravação na estrutura DEVICE_DSM_INPUT. A estrutura STORAGE_OFFLOAD_WRITE_OUTPUT contém os resultados da operação de gravação.

A estrutura STORAGE_OFFLOAD_WRITE_OUTPUT é retornada no início do buffer do sistema.

Requisitos

Requisito Valor
Cliente mínimo com suporte Disponível em Windows 8 e versões posteriores do Windows.
Cabeçalho ntddstor.h (inclua Ntddstor.h)

Confira também

DEVICE_DSM_INPUT

DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES