1 /* Window-specific OpenGL functions implementation.
3 * Copyright (c) 2000 Lionel Ulmer
4 * Copyright (c) 2005 Raphael Junqueira
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __DLLS_OPENGL32_WGL_H
22 #define __DLLS_OPENGL32_WGL_H
26 HGLRC WINAPI
wglCreateContext(HDC hdc
) ;
27 HGLRC WINAPI
wglCreateLayerContext(HDC hdc
,
29 BOOL WINAPI
wglCopyContext(HGLRC hglrcSrc
,
32 BOOL WINAPI
wglDeleteContext(HGLRC hglrc
) ;
33 BOOL WINAPI
wglDescribeLayerPlane(HDC hdc
,
37 LPLAYERPLANEDESCRIPTOR plpd
) ;
38 HGLRC WINAPI
wglGetCurrentContext(void) ;
39 HDC WINAPI
wglGetCurrentDC(void) ;
40 int WINAPI
wglGetLayerPaletteEntries(HDC hdc
,
44 const COLORREF
*pcr
) ;
45 void * WINAPI
wglGetProcAddress(LPCSTR lpszProc
) ;
46 BOOL WINAPI
wglMakeCurrent(HDC hdc
,
48 BOOL WINAPI
wglRealizeLayerPalette(HDC hdc
,
51 int WINAPI
wglSetLayerPaletteEntries(HDC hdc
,
55 const COLORREF
*pcr
) ;
56 BOOL WINAPI
wglShareLists(HGLRC hglrc1
,
58 BOOL WINAPI
wglSwapLayerBuffers(HDC hdc
,
60 BOOL WINAPI
wglUseFontBitmaps(HDC hdc
,
64 BOOL WINAPI
wglUseFontOutlines(HDC hdc
,
71 LPGLYPHMETRICSFLOAT lpgmf
) ;
72 const char * WINAPI
wglGetExtensionsStringARB(HDC hdc
) ;
74 BOOL WINAPI
wglMakeContextCurrentARB(HDC hDrawDC
, HDC hReadDC
, HGLRC hglrc
);
75 HDC WINAPI
wglGetCurrentReadDCARB(void) ;
77 #endif /* __DLLS_OPENGL32_WGL_H */