PFND3DDDI_DESTROYHWCONTEXTCB callback function (d3dumddi.h)

A callback to destroy a hardware context.

Syntax

PFND3DDDI_DESTROYHWCONTEXTCB Pfnd3dddiDestroyhwcontextcb;

HRESULT Pfnd3dddiDestroyhwcontextcb(
  HANDLE hDevice,
  const D3DDDICB_DESTROYHWCONTEXT *unnamedParam2
)
{...}

Parameters

hDevice

A handle to the device.

unnamedParam2

destroyHwContext [in]

A pointer to the structure holding information to destroy 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