'PFD_SUPPORT_COMPOSITION vs wglChoosePixelFormatARB

I have a legacy application which uses ChoosePixelFormat function. PIXELFORMATDESCRIPTOR object contains PFD_SUPPORT_COMPOSITION flag. How to define PFD_SUPPORT_COMPOSITION flag as wglChoosePixelFormatARB attribute ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source