The wglDescribeLayerPlane function obtains information about the layer planes of a given pixel format.
BOOL wglDescribeLayerPlane(
HDC hdc, // device context whose layer planes are of
// interest
int iPixelFormat, // pixel format of the desired layer plane
int iLayerPlane, // specifies an overlay or underlay plane
UINT nBytes, // specifies the size, in bytes, of a
// LAYERPLANEDESCRIPTOR structure
LPLAYERPLANEDESCRIPTOR plpd
// points to a LAYERPLANEDESCRIPTOR structure
);
If the function succeeds, the return value is TRUE. In addition, the wglDescribeLayerPlane function sets the members of the LAYERPLANEDESCRIPTOR structure pointed to by plpd according to the specified layer plane (iLayerPlane) of the specified pixel format (iPixelFormat).
If the function fails, the return value is FALSE.
The numbering of planes (iLayerPlane) determines their order. Higher-numbered planes overlay lower-numbered planes.
Windows NT: Use version 3.5 and later.
Windows: Use Windows 95 and later.
Windows CE: Unsupported.
Header: Declared in wingdi.h.
Import Library: Link with opengl32.lib.
OpenGL on Windows NT and Windows 95 Overview, WGL Functions, DescribePixelFormat, LAYERPLANEDESCRIPTOR, PIXELFORMATDESCRIPTOR, wglCreateLayerContext