ID3D11DmaEngineContextX::CopyLastErrorCodeToBuffer Method

Copies the last error code into a buffer.

Syntax

public:
void CopyLastErrorCodeToBuffer(
         ID3D11Buffer *pDstBuffer,
         UINT OffsetBytes
)  

Parameters

pDstBuffer
Type: ID3D11Buffer *

[in] The destination buffer, as a pointer to an ID3D11Buffer.

OffsetBytes
Type: UINT 

[in] The offset within the buffer at which to write the data, in bytes. The content at that location in the buffer will be one member of either the D3D11X_DMA_JPEG_ERROR_FLAGS enumeration or the D3D11X_DMA_LZ_ERROR enumeration.

Return value

None.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DmaEngineContextX Interface

ID3D11DmaEngineContextX Members