PFND3DDDI_SETVIEWPORT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

PFND3DDDI_SETVIEWPORT Pfnd3dddiSetviewport;

HRESULT Pfnd3dddiSetviewport(
  HANDLE hDevice,
  const D3DDDIARG_VIEWPORTINFO *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dumddi-pfnd3dddi_setviewport)

PFND3DDDI_SETVIEWPORT callback function

Description

The SetViewport function informs guard-band-aware drivers of the view-clipping rectangle.

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDIARG_VIEWPORTINFO structure that describes the view-clipping rectangle.

Return value

SetViewport returns S_OK or an appropriate error result if the driver is not successfully informed about the view-clipping rectangle.

See also

D3DDDIARG_VIEWPORTINFO

D3DDDI_DEVICEFUNCS