PFND3D12DDI_DEALLOCATE_CB_0022 callback function (d3d12umddi.h)
The pfnDeallocateCb callback function controls heap deallocation by using a D3D12DDICB_DEALLOCATE_0022 structure.
Syntax
PFND3D12DDI_DEALLOCATE_CB_0022 Pfnd3d12ddiDeallocateCb0022;
HRESULT Pfnd3d12ddiDeallocateCb0022(
D3D12DDI_HRTDEVICE unnamedParam1,
const D3D12DDICB_DEALLOCATE_0022 *unnamedParam2
)
{...}
Parameters
unnamedParam1
The handle to a device.
unnamedParam2
A D3D12DDICB_DEALLOCATE_0022 structure that contains information for a deallocation.
Return value
If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Access this callback function by using the D3D12DDI_CORELAYER_DEVICECALLBACKS_0022 structure.
The driver must check the return value of the function.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d12umddi.h (include D3d12umddi.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for