Select the dibsection into a dc before calling GetDIBColorTable.

1 file changed