> ## 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.

# XtfConsoleFieldType Enumeration

> XtfConsoleFieldType Enumeration

# XtfConsoleFieldType Enumeration

Identifies the type of the value returned from [XtfGetConsoleFieldValue](/reference/tools/xtf/xtfapi/functions/xtfgetconsolefieldvalue-xbox-microsoft-m).

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
typedef enum XtfConsoleFieldType
{
    FieldTypeUINT32,
    FieldTypePWCHAR
} XtfConsoleFieldType;  
```

<a id="constantsSection" />

## Constants

| Constant        | Description                       |
| --------------- | --------------------------------- |
| FieldTypeUINT32 | Value is a <b>UINT32</b> integer. |
| FieldTypePWCHAR | Value is a <b>PWCHAR</b> string.  |

<a id="remarksSection" />

## Remarks

This enumeration indicates the type of the console field value returned by the [XtfGetConsoleFieldValue](/reference/tools/xtf/xtfapi/functions/xtfgetconsolefieldvalue-xbox-microsoft-m) function. Use the value specified in the `field` parameter of that function to identify the returned console field value. For more information about console settings, see [Managing console settings (NDA topic)](/tools/tools-console/xbom/manager-tool-console-settings).

<a id="requirements" />

## Requirements

**Header:** xtfapi.h

**Library:** xtfapi.lib

**Supported platforms:** Windows (for XBOX console tools)

<a id="seealsoSection" />

## See also

[XtfConsoleFieldId Enumeration](/reference/tools/xtf/xtfapi/enums/xtfconsolefieldid-xbox-windows-t)\
[Additional Xtf APIs](/reference/tools/xtf/xtfapi/atoc-xtfapi)\
[XBOX Tools Framework native API reference](/reference/tools/xtf/atoc-xtf-native)


## Related topics

- [XtfConsoleFieldId Enumeration](/reference/tools/xtf/xtfapi/enums/xtfconsolefieldid-xbox-windows-t.md)
- [XtfConsoleCertType Enumeration](/reference/tools/xtf/xtfapi/enums/xtfconsolecerttype-xbox-windows-t.md)
- [XtfGetConsoleFieldValue](/reference/tools/xtf/xtfapi/functions/xtfgetconsolefieldvalue-xbox-microsoft-m.md)
- [XtfGetConsoleInfoList](/reference/tools/xtf/xtfconsolecontrol/functions/xtfgetconsoleinfolist-xtfconsolecontrol-xbox-microsoft-m.md)
- [D3D12_HIT_GROUP_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_hit_group_desc_public.md)
