ID3D11DeviceX::CreateDmaEngineContext Method

Creates a DMA engine context.

Syntax

public:
HRESULT CreateDmaEngineContext(
         const D3D11_DMA_ENGINE_CONTEXT_DESC *pDmaEngineContextDesc,
         ID3D11DmaEngineContextX **ppDmaDeviceContext
)  

Parameters

pDmaEngineContextDesc
Type: D3D11_DMA_ENGINE_CONTEXT_DESC *

[in] The DMA engine context description, as a pointer to D3D11_DMA_ENGINE_CONTEXT_DESC.

ppDmaDeviceContext
Type: ID3D11DmaEngineContextX **

[out] The DMA device context, as a pointer to pointer to ID3D11DmaEngineContextX.

Return value

Type: HRESULT 

One of the Direct3D 11 return codes.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceX Interface

ID3D11DeviceX Members