PFND3DDDI_SETINDICESUM callback function (d3dumddi.h)

The SetIndicesUM function sets the current index buffer to the given user memory buffer.

Syntax

PFND3DDDI_SETINDICESUM Pfnd3dddiSetindicesum;

HRESULT Pfnd3dddiSetindicesum(
  HANDLE hDevice,
  UINT unnamedParam2,
  const VOID *unnamedParam3
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

IndexSize [in]

The size, in bytes, of the indices that are contained in the index buffer. The value of this parameter is 2 if the indices are 16-bit quantities or 4 if the indices are 32-bit quantities.

unnamedParam3

pUMBuffer [in]

A pointer to the user-memory buffer that supplies the indices for the index buffer.

Return value

SetIndicesUM returns S_OK or an appropriate error result if the index buffer is not successfully set to the given user memory buffer.

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

D3DDDI_DEVICEFUNCS