Error Message:

The pixel format is invalid.

Explanation:

A valid pixel format identifies a pixel configuration supported on a drawing surface. DescribePixelFormat describes all the pixel formats supported on a given drawing surface. SetPixelFormat changes the pixel format of a window or drawing surface. The pixel format of a window or drawing surface can be modified only once. Once it is set, it cannot be changed to a different pixel format.

User Action:

If you can, verify that the pixel format is supported by the drawing surface. If the pixel format was changed on another occasion, it cannot be changed again. Contact the supplier of the running distributed application.