Struct DSTORAGE_CUSTOM_DECOMPRESSION_REQUEST

Struct Documentation

struct DSTORAGE_CUSTOM_DECOMPRESSION_REQUEST

A custom decompression request. Use IDStorageCustomDecompressionQueue to retrieve these requests.

Public Members

UINT64 Id

An identifier provided by DirectStorage. This should be used to identify the request in DSTORAGE_CUSTOM_DECOMPRESSION_RESULT. This identifier is unique among uncompleted requests, but may be reused after a request has completed.

DSTORAGE_COMPRESSION_FORMAT CompressionFormat

The compression format. This will be >= DSTORAGE_CUSTOM_COMPRESSION_0 if DSTORAGE_CUSTOM_DECOMPRESSION_CUSTOMONLY is used to retrieve requests.

UINT8 Reserved[3]

Reserved for future use.

DSTORAGE_CUSTOM_DECOMPRESSION_FLAGS Flags

Flags containing additional details about the decompression request.

UINT64 SrcSize

The size of SrcBuffer in bytes.

void const *SrcBuffer

The compressed source buffer.

UINT64 DstSize

The size of DstBuffer in bytes.

void *DstBuffer

The uncompressed destination buffer. SrcBuffer should be decompressed to DstBuffer.