public static extern bool wglDescribeLayerPlane(IntPtr hDC, int iPixelFormat, int iLayerPlane, uint nBytes, ref LAYERPLANEDESCRIPTOR desc);
// BOOL WINAPI wglDescribeLayerPlane( HDC hdc, int iPixelFormat, int iLayerPlane, UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd ); public static bool DescribeLayerPlane(IntPtr hDC, int iPixelFormat, int iLayerPlane, uint nBytes, LAYERPLANEDESCRIPTOR plpd) { if (wglDescribeLayerPlane != null) { return(wglDescribeLayerPlane(hDC, iPixelFormat, iLayerPlane, nBytes, ref plpd)); } else { return(false); } }