DescribePixelFormat

I have a situation where i need to distinguish a hardware accelerated display from an non-hardware accelerated dispaly device. Using an algorithm which uses Describepixelformat, i can select which all pixel format are hardware accelereted and which all the not.
Now i ahve a dual head card (Matrox G450) and hardware acceleration is supported only on the primary head. I need to determine through a software program that the primary head supports hardware acceleration while the secondary head doesnt.
If i used DescribePixelformat selecting both heads one by one using “use thhis device as primary display”, both gives me the same set of pixel format as both are under the same card.
Can anyone tell me how do i know what i want.Actaully whether its accelerated or not, an opengl program runs without giving@any error, however the screen is distorted for the secondary head.