Bewerken

Delen via


PFND3D12DDI_OPENHEAPANDRESOURCE_0003 callback function (d3d12umddi.h)

Implemented by the client driver to open heap and resource.

Syntax

PFND3D12DDI_OPENHEAPANDRESOURCE_0003 Pfnd3d12ddiOpenheapandresource0003;

HRESULT Pfnd3d12ddiOpenheapandresource0003(
  D3D12DDI_HDEVICE unnamedParam1,
  const D3D12DDIARG_OPENHEAP_0003 *unnamedParam2,
  D3D12DDI_HHEAP unnamedParam3,
  D3D12DDI_HRTRESOURCE unnamedParam4,
  D3D12DDI_HRESOURCE unnamedParam5
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

unnamedParam2

Pointer to a D3D12DDIARG_OPENHEAP_0003 structure.

unnamedParam3

A heap handle.

unnamedParam4

The handle of the resource for the driver to use when it calls back into the runtime.

unnamedParam5

A resource handle.

Return value

Returns HRESULT.

Requirements

Requirement Value
Header d3d12umddi.h