Decompresses memory from LZ format.
public:
HRESULT LZDecompressMemory(
void *pDstAddress,
void *pSrcAddress,
UINT SrcSizeBytes,
UINT CopyFlags
)
pDstAddress
Type: void *
[in] The destination address. Must be in graphics memory. Must be 4-byte aligned.
pSrcAddress
Type: void *
[in] The source address. Must be in graphics memory. Must be 4-byte aligned. The maximum size of the memory pointed to by this parameter is 4MB.
SrcSizeBytes
Type: UINT
[in] The source size in bytes.
CopyFlags
Type: UINT
[in] Flags reserved for future use; must be zero.
Type: HRESULT
S_OK if successful; otherwise, an error code. D3D11X_DMA_LZ_ERROR enumeration constants can be returned from the DMA Engine through ID3D11DmaEngineContextX::CopyLastErrorCodeToBuffer or ID3D11DmaEngineContextX::CopyLastErrorCodeToMemory.
The memory manager reserves the virtual address range up to 1TB for graphics memory.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.