关于DIB_PAL_COLORS 和 DIB_RGB_COLORS,该如何处理

关于DIB_PAL_COLORS 和 DIB_RGB_COLORS
在CreateDIBSection中什么时候用DIB_PAL_COLORS作为参数,什么时候用DIB_RGB_COLORS   作为参数?有什么实质的区别?
初学C++,如果问题很傻,请大家见谅!

------解决方案--------------------
顾名思义,pal当然是使用调色板,而rgb是使用真实颜色做数据
------解决方案--------------------
DIB_PAL_COLORS
The bmiColors member is an array of 16-bit indexes into the logical palette of the device context specified by hdc.
DIB_RGB_COLORS The BITMAPINFO
structure contains an array of literal RGB values.
------解决方案--------------------
一般都是用后者,前者有时候再显示png,或者jpg图象的时候会用到.