DD_SETENTRIESDATA structure (ddrawint.h)
The DD_SETENTRIESDATA structure contains information necessary to set palette entries.
Syntax
typedef struct _DD_SETENTRIESDATA {
PDD_DIRECTDRAW_GLOBAL lpDD;
PDD_PALETTE_GLOBAL lpDDPalette;
DWORD dwBase;
DWORD dwNumEntries;
LPPALETTEENTRY lpEntries;
HRESULT ddRVal;
VOID *SetEntries;
} *PDD_SETENTRIESDATA, DD_SETENTRIESDATA;
Members
lpDD
Points to a DD_DIRECTDRAW_GLOBAL structure that describes the driver's device.
lpDDPalette
Points to a DD_PALETTE_GLOBAL structure that represents the DirectDrawPalette object.
dwBase
Specifies a zero-based index into the color table of the first entry to be modified.
dwNumEntries
Specifies the number of palette entries that the driver should update.
lpEntries
Points to a PALETTEENTRY structure that specifies the color table. See the latest Microsoft DirectX SDK documentation for more information about PALETTEENTRY.
ddRVal
Specifies the location in which the driver writes the return value of the DdSetEntries callback. For more information, see Return Values for DirectDraw.
SetEntries
Used by the Microsoft DirectDraw API and should not be filled in by the driver.
Requirements
Requirement | Value |
---|---|
Header | ddrawint.h (include Winddi.h) |