Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CPalette::GetPaletteEntries
CPalette                                    Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  UINT GetPaletteEntries( UINT nStartIndex, UINT nNumEntries,
                          LPPALETTEENTRY lpPaletteColors ) const;
 
  Parameter         Description
 
  <nStartIndex>     Specifies the first entry in the logical palette to be
                    retrieved.
 
  <nNumEntries>     Specifies the number of entries in the logical palette
                    to be retrieved.
 
  <lpPaletteColors> Points to an array of PALETTEENTRY data structures to
                    receive the palette entries. The array must contain at
                    least as many data structures as specified by
                    <nNumEntries>.
 
  Remarks
 
  Retrieves a range of palette entries in a logical palette.
 
  Return Value
 
  The number of entries retrieved from the logical palette, or 0 if the
  function failed.
 
  See Also
 
  ::GetPaletteEntries
 
 
                                     -♦-