ID3D12Device::SetHangCallbacksX Method

Sets the callback functions to invoke when the GPU hangs.

Syntax

public:
void SetHangCallbacksX(
         D3D12XBOX_HANGBEGINCALLBACK pBeginCallback,
         D3D12XBOX_HANGPRINTCALLBACK pPrintCallback,
         D3D12XBOX_HANGDUMPCALLBACK pDumpCallback
)  

Parameters

pBeginCallback
Type: D3D12XBOX_HANGBEGINCALLBACK 

[in] Pointer to the callback function to invoke when a GPU hang begins.

pPrintCallback
Type: D3D12XBOX_HANGPRINTCALLBACK 

[in] Pointer to the callback function to invoke when printing information for a GPU hang.

pDumpCallback
Type: D3D12XBOX_HANGDUMPCALLBACK 

[in] Pointer to the callback function to invoke when dumping information for a GPU hang.

Return value

Type: void 

This method does not return a value.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

ID3D12Device Interface

ID3D12Device Members