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

# GetAutoBreadcrumbsOutput

> Retrieves the Device Removed Extended Data (DRED) auto-breadcrumbs output after device removal.

Retrieves the Device Removed Extended Data (DRED) auto-breadcrumbs output after device removal.

## Syntax

```cpp theme={null}
HRESULT GetAutoBreadcrumbsOutput(
    D3D12_DRED_AUTO_BREADCRUMBS_OUTPUT  pOutput
)
```

### Parameters

*pOutput*\
Type: D3D12\_DRED\_AUTO\_BREADCRUMBS\_OUTPUT \*

An output parameter that takes the address of a [D3D12\_DRED\_AUTO\_BREADCRUMBS\_OUTPUT](/reference/graphics/d3d12/structs/d3d12_dred_auto_breadcrumbs_output_public) object. The object whose address is passed receives the data.

### Return value

Type: HRESULT

If the function succeeds, it returns **S\_OK**. Otherwise, it returns an [HRESULT](https://learn.microsoft.com/en-us/windows/desktop/com/structure-of-com-error-codes) [error code](https://learn.microsoft.com/en-us/windows/desktop/com/com-error-codes-10). Returns **DXGI\_ERROR\_NOT\_CURRENTLY\_AVAILABLE** if the device is *not* in a removed state. Returns **DXGI\_ERROR\_UNSUPPORTED** if auto-breadcrumbs have not been enabled with [ID3D12DeviceRemovedExtendedDataSettings::SetAutoBreadcrumbsEnablement](/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddatasettings/methods/id3d12deviceremovedextendeddatasettings_setautobreadcrumbsenablement_public).

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

* [ID3D12DeviceRemovedExtendedData interface](/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddata/id3d12deviceremovedextendeddata_public)
* [Use DRED to diagnose GPU faults](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/use-dred)


## Related topics

- [D3D12_DRED_AUTO_BREADCRUMBS_OUTPUT](/reference/graphics/d3d12/structs/d3d12_dred_auto_breadcrumbs_output_public.md)
- [D3D12_DEVICE_REMOVED_EXTENDED_DATA1](/reference/graphics/d3d12/structs/d3d12_device_removed_extended_data1_public.md)
- [D3D12_AUTO_BREADCRUMB_OP](/reference/graphics/d3d12/enums/d3d12_auto_breadcrumb_op_public.md)
- [D3D12_DEVICE_REMOVED_EXTENDED_DATA](/reference/graphics/d3d12/structs/d3d12_device_removed_extended_data_public.md)
- [D3D12_AUTO_BREADCRUMB_NODE](/reference/graphics/d3d12/structs/d3d12_auto_breadcrumb_node_public.md)
