[ TDx_DrawPalette ]
[ next: LoadFromFile() ]
[ prev: GetCaps() ]
public:
virtual bool __fastcall GetEntries( dword pBase, dword pNumEntries, PALETTEENTRY* pEntries );
If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.
DESCRIPTION
Top
Parameters
See Also
The
TDx_DrawPalette::GetEntries
method
will
retrieve
specified
color
table
entries
from
the
palette.
If
the
method
call
fails,
the
OnError
event
will
be
triggered
with
one
of
the
following
values:
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
DDERR_NOTPALETTIZED
PARAMETERS
Top
See Also
Base
The Base parameter defines the start of the entries to be retrieved sequentially.
NumEntries
The NumEntries parameter defines the number of entries the Entries parameter of this method can hold.
Entries
The Entries parameter will reference the array of retrieved PALETTEENTRY 's if this method returns successfully.
Palette entries will be 4 bytes each unless DDPCAPS_8BITENTRIES is set, in which case each entry will be 1 byte.
SEE ALSO
Top
Parameters