Error Message:

The window style or class attribute is invalid for this operation.

Explanation:

SetPixelFormat requires that a window whose pixel format is to change has a compatible window style or class attribute.

User Action:

Contact the supplier of the running distributed application.