ID3D12Device::CreateCommandQueueX Method

Creates a command queue, on Xbox One.

Syntax

public:
HRESULT CreateCommandQueueX(
         const D3D12XBOX_COMMAND_QUEUE_DESC *pDesc,
         REFIID riid,
         void **ppCommandQueue
)  

Parameters

pDesc
Type: D3D12XBOX_COMMAND_QUEUE_DESC *

[in] The description of the command queue, as a pointer to a D3D12XBOX_COMMAND_QUEUE_DESC structure.

riid
Type: REFIID 

The globally unique identifier (GUID) for the command queue interface (ID3D12CommandQueue). The REFIID, or GUID, of the interface to the command queue can be obtained by using the __uuidof() macro. For example, __uuidof(ID3D12CommandQueue) will get the GUID of the interface to a command queue. An input parameter.

ppCommandQueue
Type: void **

[out] A pointer to a memory block that receives a pointer to the ID3D12CommandQueue interface for the command queue.

Return value

Type: HRESULT 

One of the Direct3D 12 return codes. This method returns E_OUTOFMEMORY if there is insufficient memory to create the command queue.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

ID3D12Device Interface

ID3D12Device Members