// d3d12umddi.h
PFND3D12DDI_CREATEHEAPANDRESOURCE_0003 Pfnd3d12ddiCreateheapandresource0003;
HRESULT Pfnd3d12ddiCreateheapandresource0003(
D3D12DDI_HDEVICE unnamedParam1,
const D3D12DDIARG_CREATEHEAP_0001 *unnamedParam2,
D3D12DDI_HHEAP unnamedParam3,
D3D12DDI_HRTRESOURCE unnamedParam4,
const D3D12DDIARG_CREATERESOURCE_0003 *unnamedParam5,
const D3D12DDI_CLEAR_VALUES *unnamedParam6,
D3D12DDI_HRESOURCE unnamedParam7
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A user-mode display driver's PFND3D12DDI_CREATEHEAPANDRESOURCE_0003 function simultaneously creates a heap and resource.
unnamedParam1A D3D12DDI_HDEVICE handle to the display device (graphics context).
unnamedParam2A D3D12DDIARG_CREATEHEAP_0001 structure containing the arguments used to create a heap.
unnamedParam3A D3D12DDI_HHEAP handle to a heap.
unnamedParam4The D3D12DDI_HRTRESOURCE handle of the resource for the driver to use when it calls back into the runtime.
unnamedParam5Pointer to a D3D12DDIARG_CREATERESOURCE_0003 structure containing the arguments used to create a resource.
unnamedParam6Pointer to a D3D12DDI_CLEAR_VALUES structure with values used to optimize clear operations for the resource.
unnamedParam7The D3D12DDI_HRESOURCE handle to the hardware resource.
If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.