Skip to content

Latest commit

 

History

History
81 lines (58 loc) · 2.75 KB

nc-d3dkmddi-dxgkddi_setpalette.md

File metadata and controls

81 lines (58 loc) · 2.75 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3dkmddi.DXGKDDI_SETPALETTE
DXGKDDI_SETPALETTE (d3dkmddi.h)
The DxgkDdiSetPalette function programs the color registers for palettized 8 bits-per-pixel (bpp) modes.
display\dxgkddisetpalette.htm
05/10/2018
DXGKDDI_SETPALETTE callback function
DXGKDDI_SETPALETTE, DXGKDDI_SETPALETTE callback, DmFunctions_88e6fd1a-1c14-4a4e-8616-c508b07ed94e.xml, DxgkDdiSetPalette, DxgkDdiSetPalette callback function [Display Devices], d3dkmddi/DxgkDdiSetPalette, display.dxgkddisetpalette
d3dkmddi.h
Desktop
Windows Vista
PASSIVE_LEVEL
Windows
display
DXGKDDI_SETPALETTE
d3dkmddi/DXGKDDI_SETPALETTE
APIRef
kbSyntax
UserDefined
d3dkmddi.h
DXGKDDI_SETPALETTE

DXGKDDI_SETPALETTE callback function

-description

The DxgkDdiSetPalette function programs the color registers for palettized 8 bits-per-pixel (bpp) modes.

-parameters

-param hAdapter [in]

A handle to a context block that is associated with a display adapter. The display miniport driver previously provided this handle to the Microsoft DirectX graphics kernel subsystem in the MiniportDeviceContext output parameter of the DxgkDdiAddDevice function.

-param pSetPalette [in]

A pointer to a DXGKARG_SETPALETTE structure that describes the palette to set for the display.

-returns

DxgkDdiSetPalette returns STATUS_SUCCESS, or an appropriate error result if the display palette is not successfully set.

-remarks

Implementation of the DxgkDdiSetPalette function in the Windows Vista display driver model replaces IOCTL_VIDEO_SET_COLOR_REGISTERS functionality in the Windows 2000 display driver model.

DxgkDdiSetPalette should be made pageable.

-see-also

D3DKMDT_PALETTEDATA

DXGKARG_SETPALETTE

DxgkDdiAddDevice