ID3D12DeviceRemovedExtendedData::GetPageFaultAllocationOutput method (d3d12.h)
Retrieves the Device Removed Extended Data (DRED) page fault data, including matching allocation for both living and recently-deleted runtime objects. The object whose address is passed receives the data.
Syntax
HRESULT GetPageFaultAllocationOutput(
D3D12_DRED_PAGE_FAULT_OUTPUT *pOutput
);
Parameters
pOutput
An output parameter that takes the address of a D3D12_DRED_PAGE_FAULT_OUTPUT object.
Return value
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. Returns DXGI_ERROR_NOT_CURRENTLY_AVAILABLE if the device is not in a removed state. Returns DXGI_ERROR_UNSUPPORTED if page fault reporting has not been enabled with ID3D12DeviceRemovedExtendedDataSettings::SetPageFaultEnablement.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1903 |
Target Platform | Windows |
Header | d3d12.h |
Library | D3D12.lib |
DLL | D3D12.dll |