PFND3D12DDI_CREATEFENCE callback function (d3d12umddi.h)

Creates a fence.

Syntax

PFND3D12DDI_CREATEFENCE Pfnd3d12ddiCreatefence;

HRESULT Pfnd3d12ddiCreatefence(
  D3D12DDI_HDEVICE unnamedParam1,
  D3D12DDI_HFENCE unnamedParam2,
  const D3D12DDIARG_CREATE_FENCE *unnamedParam3
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

unnamedParam2

A fence handle.

unnamedParam3

Pointer to a D3D12DDIARG_CREATE_FENCE structure.

Return value

Returns HRESULT.

Requirements

Requirement Value
Header d3d12umddi.h