Skip to main content
Creates an instance of the specified meta command.

Syntax

Parameters

CommandId [in]
Type: const GUID &
A reference to the globally unique identifier (GUID) of the meta command that you wish to instantiate. NodeMask [in]
Type: UINT
For single-adapter operation, set this to zero. If there are multiple adapter nodes, set a bit to identify the node (one of the device’s physical adapters) to which the meta command applies. Each bit in the mask corresponds to a single node. Only one bit must be set. See Multi-adapter systems. pCreationParametersData [in, optional]
Type: const void *
An optional pointer to a constant structure containing the values of the parameters for creating the meta command. CreationParametersDataSizeInBytes [in]
Type: SIZE_T
A SIZE_T containing the size of the structure pointed to by pCreationParametersData, if set, otherwise 0. riid
Type: const IID &
A reference to the globally unique identifier (GUID) of the interface that you wish to be returned in ppMetaCommand. This is expected to be the GUID of ID3D12MetaCommand. ppMetaCommand [out]
Type: void **
A pointer to a memory block that receives a pointer to the meta command. This is the address of a pointer to an ID3D12MetaCommand, representing the meta command created.

Return value

Type: HRESULT If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Return valueDescription
The current hardware does not support the algorithm being requested

Requirements

Header: d3d12_xs.h
Library: d3d12_xs.lib
Supported Platforms: XBOX Series consoles

See Also

ID3D12Device5
Last modified on August 20, 2026