PFND3D12DDI_CREATEHEAPANDRESOURCE_0030 callback function

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Used to simultaneously create a heap and resource.

Syntax

PFND3D12DDI_CREATEHEAPANDRESOURCE_0030 Pfnd3d12ddiCreateheapandresource0030;

HRESULT Pfnd3d12ddiCreateheapandresource0030(
  D3D12DDI_HDEVICE Arg1,
  const D3D12DDIARG_CREATEHEAP_0001 *Arg2,
  D3D12DDI_HHEAP Arg3,
  D3D12DDI_HRTRESOURCE Arg4,
  const D3D12DDIARG_CREATERESOURCE_0003 *Arg5,
  const D3D12DDI_CLEAR_VALUES *Arg6,
  D3D12DDI_HPROTECTEDRESOURCESESSION_0030 Arg7,
  D3D12DDI_HRESOURCE Arg8
)
{...}

Parameters

Arg1

A handle to the display device (graphics context).

Arg2

Used to create a heap.

Arg3

Used to create a resource.

Arg4

d3d12ddiarg_createresource_0003 [in, optional]

Arguments used to create a resource.

Arg5

d3d12ddi_clear_values [in, optional]

Used to clear the values of the resource.

Arg6

The protected resource session.

Arg7

The hardware resource.

Arg8

Return Value

Returns STATUS_SUCCESS if completed successfully.

Requirements

   
Target Platform Windows
Header d3d12umddi.h