March 2013
Intermediate to advanced
984 pages
26h 18m
English
Use GetVersion() or the newer GetVersionEx() to determine version information. ChoosePixelFormat() tries to find a PIXELFORMATDESCRIPTOR with specified attributes. If a good match for the requested pixel format is found, then SetPixelFormat() should be called for actual use of the pixel format. You should select a pixel format in the device context before creating a rendering context.
If you want to find out details about a given pixel format, use DescribePixelFormat() or, for overlays or underlays, wglDescribeLayerPlane().
To access function pointers for extensions and new features in Microsoft Windows, use the wglGetProcAddress() function. This function is defined in the wingdi.h header file, which ...