I would like to know, via a VC++ program, what are the resolution available on my PC.

I know must use function like :
EnumDisplayDevices
EnumDisplaySettings
DescribePixelFormat
but i can't find the way to use them...

Could someone help me on this mystery ? ;P
thanks