PFND3DDDI_SETPALETTE - NtDoc

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

PFND3DDDI_SETPALETTE Pfnd3dddiSetpalette;

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

NtDoc

No description available.

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

PFND3DDDI_SETPALETTE callback function

Description

The SetPalette function associates a palette with a texture.

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDIARG_SETPALETTE structure that describes the parameters for the set-palette operation.

Return value

SetPalette returns S_OK or an appropriate error result if the palette is not successfully associated with the texture.

Remarks

The user-mode display driver uses the members in the D3DDDIARG_SETPALETTE structure that is pointed to by pData to map an association between a palette handle and a surface handle and to specify the characteristics of the palette.

See also

D3DDDIARG_SETPALETTE

D3DDDI_DEVICEFUNCS