Esempio n. 1
0
 public static extern bool wglDescribeLayerPlane(IntPtr hDC, int iPixelFormat, int iLayerPlane, uint nBytes,
                                                 ref LAYERPLANEDESCRIPTOR desc);
Esempio n. 2
0
 // 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);
     }
 }