> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_FEATURE_DATA_QUERY_META_COMMAND

> Indicates the level of support that the adapter provides for metacommands.

Indicates the level of support that the adapter provides for metacommands.

## Syntax

```cpp theme={null}
typedef struct D3D12_FEATURE_DATA_QUERY_META_COMMAND
{
    GUID CommandId;
    UINT NodeMask;
    const void  pQueryInputData;
    SIZE_T QueryInputDataSizeInBytes;
    void  pQueryOutputData;
    SIZE_T QueryOutputDataSizeInBytes;
} D3D12_FEATURE_DATA_QUERY_META_COMMAND
```

### Members

*CommandId*\
Type: GUID

The fixed GUID that identifies the metacommand to query about.

*NodeMask*\
Type: UINT

For single GPU operation, this is zero. If there are multiple GPU nodes, a bit is set to identify a node (the device's physical adapter). Each bit in the mask corresponds to a single node. Only 1 bit must be set. Refer to [Multi-adapter systems](https://learn.microsoft.com/en-us/windows/win32/direct3d12/multi-engine).

*pQueryInputData*\
Type: const void \*

A pointer to a buffer containing the query input data. Allocate *QueryInputDataSizeInBytes* bytes.

*QueryInputDataSizeInBytes*\
Type: SIZE\_T

The size of the buffer pointed to by *pQueryInputData*, in bytes.

*pQueryOutputData*\
Type: void \*

A pointer to a buffer containing the query output data.

*QueryOutputDataSizeInBytes*\
Type: SIZE\_T

The size of the buffer pointed to by *pQueryOutputData*, in bytes.

## Remarks

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also


## Related topics

- [D3D12_FEATURE](/reference/graphics/d3d12/enums/d3d12_feature_public.md)
- [D3D12_FEATURE_DATA_D3D12_OPTIONS3](/reference/graphics/d3d12/structs/d3d12_feature_data_d3d12_options3_public.md)
- [D3D12_META_COMMAND_PARAMETER_TYPE](/reference/graphics/d3d12/enums/d3d12_meta_command_parameter_type_public.md)
- [D3D12_META_COMMAND_DESC](/reference/graphics/d3d12/structs/d3d12_meta_command_desc_public.md)
- [D3D12_META_COMMAND_PARAMETER_STAGE](/reference/graphics/d3d12/enums/d3d12_meta_command_parameter_stage_public.md)
