PFND3DDDI_SETZRANGE callback function (d3dumddi.h)

The SetZRange function informs the driver about the range of z values.

Syntax

PFND3DDDI_SETZRANGE Pfnd3dddiSetzrange;

HRESULT Pfnd3dddiSetzrange(
  HANDLE hDevice,
  const D3DDDIARG_ZRANGE *unnamedParam2
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDIARG_ZRANGE structure that specifies minimum and maximum values for the range of z values.

Return value

SetZRange returns S_OK or an appropriate error result if the driver is not successfully informed about the range of z values.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_ZRANGE

D3DDDI_DEVICEFUNCS