Platform SDK: OpenGL |
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/2000: Requires Windows NT 3.5 or later.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in wingdi.h.
Import Library: Use opengl32.lib.
OpenGL on Windows NT, Windows 2000, and Windows 95/98, WGL Functions, DescribePixelFormat, LAYERPLANEDESCRIPTOR, PIXELFORMATDESCRIPTOR, wglCreateLayerContext