How come biClrUsed is always zero?

  • Thread starter Thread starter active
  • Start date Start date
Thanks

Michael Phillips said:
The MSDN documentation states that a non zero return indicates success.


If NRetrieved returned all of the colors in the palette that you were
looking for, then it was correct..


NEntries should be any positive number less than the total possible colors
for the indexed bitmap(e.g., 1..255, for 8bpp)

It does not make any sense to request 0 entries

As I stated, I did not do extensive error checking.
 
Back
Top