GetCurrentColorDepth
Get the colour depth currently in use.
UINT GetCurrentColorDepth();
Return value
Returns the number of bits per pixel.
Example
UINT u = GetCurrentColorDepth();
if( u >= 8 )
{
// Do high colour stuff.
}
See also none.