PFND3DDDI_SETINDICES - NtDoc

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

PFND3DDDI_SETINDICES Pfnd3dddiSetindices;

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

NtDoc

No description available.

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

PFND3DDDI_SETINDICES callback function

Description

The SetIndices function sets the current index buffer.

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDIARG_SETINDICES structure that describes parameters for setting the current index buffer.

Return value

SetIndices returns S_OK or an appropriate error result if the index buffer is not successfully set.

Remarks

The Microsoft Direct3D runtime supplies a handle value of zero in the hIndexBuffer member of the D3DDDIARG_SETINDICES structure that is pointed to by the pData parameter to clear the current index buffer. The driver should handle subsequent attempts to draw indexed primitives (before a new current index buffer is established) so that a crash does not occur. The debug version of your driver should display informative messages to the debug output stream when this error condition is detected.

See also

D3DDDIARG_SETINDICES

D3DDDI_DEVICEFUNCS