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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top