confused : PixelFormatDescriptor

alright guys, im trying to come up with some utility functions that will be able to return to variables thru parameters, which types of pixel formats can be used. im trying to do it with out lots of looping and testing, ive been thru the msdn site looking at it and im starting to doubt myself, can anyone pt me in the right directions

I’ve never used it like this, but you should be able to use DescribePixelFormat. There is an article on it on MSDN. The article is “Examining a Device’s Supported Pixel Formats” and could be searched under “DescribePixelFormat”. And, it is probably what you are looking for.

[This message has been edited by shinpaughp (edited 02-14-2003).]