// d3d12umddi.h
PFND3D12DDI_CREATE_META_COMMAND_0052 Pfnd3d12ddiCreateMetaCommand0052;
HRESULT Pfnd3d12ddiCreateMetaCommand0052(
D3D12DDI_HDEVICE unnamedParam1,
GUID CommandId,
UINT NodeMask,
const void *pCreationParameters,
SIZE_T CreationParametersDataSizeInBytes,
D3D12DDI_HMETACOMMAND_0052 unnamedParam6,
D3D12DDI_HRTMETACOMMAND_0052 unnamedParam7
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Creates a meta-command.
unnamedParam1A handle to the display device (graphics context).
CommandIdThe command id.
NodeMaskThe node mask of the command list.
pCreationParametersThe creation parameters.
CreationParametersDataSizeInBytesThe size of the creation parameters.
unnamedParam6Handle to a meta-command.
unnamedParam7A meta-command.
Returns HRESULT.
//Declaration
PFND3D12DDI_CREATE_META_COMMAND_0052 Pfnd3d12ddiCreateMetaCommand0052;
// Definition
HRESULT Pfnd3d12ddiCreateMetaCommand0052
(
D3D12DDI_HDEVICE Arg1
GUID CommandId
UINT NodeMask
CONST void *pCreationParameters
SIZE_T CreationParametersDataSizeInBytes
D3D12DDI_HMETACOMMAND_0052 Arg2
D3D12DDI_HRTMETACOMMAND_0052 Arg3
)
{...}
The runtime will validate the meta-command guid via an approved list. This check can only be bypassed in developer mode. Without this only predefined meta-commands are allowed. All predefined meta-commands have a defined spec and HLK tests to validate their functionality.
PFND3D12DDI_DESTROY_META_COMMAND_0052
PFND3D12DDI_EXECUTE_META_COMMAND_0052
PFND3D12DDI_INITIALIZE_META_COMMAND_0052