PFND3DDDI_CREATEHWCONTEXTCB callback function (d3dumddi.h)

A callback to create a new hardware context.

Syntax

PFND3DDDI_CREATEHWCONTEXTCB Pfnd3dddiCreatehwcontextcb;

HRESULT Pfnd3dddiCreatehwcontextcb(
  HANDLE hDevice,
  D3DDDICB_CREATEHWCONTEXT *unnamedParam2
)
{...}

Parameters

hDevice

A handle to the device.

unnamedParam2

createHwContext [in, out]

A pointer to the structure holding information on creating the hardware context.

Return value

Return code Description
S_OK The call was successfully completed.

This function might also return other HRESULT values.

Requirements

Requirement Value
Target Platform Windows
Header d3dumddi.h