1 /* Window-specific OpenGL functions implementation.
3 * Copyright (c) 2000 Lionel Ulmer
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 #ifndef __DLLS_OPENGL32_WGL_H
21 #define __DLLS_OPENGL32_WGL_H
25 HGLRC WINAPI wglCreateContext(HDC hdc) ;
26 HGLRC WINAPI wglCreateLayerContext(HDC hdc,
28 BOOL WINAPI wglCopyContext(HGLRC hglrcSrc,
31 BOOL WINAPI wglDeleteContext(HGLRC hglrc) ;
32 BOOL WINAPI wglDescribeLayerPlane(HDC hdc,
36 LPLAYERPLANEDESCRIPTOR plpd) ;
37 HGLRC WINAPI wglGetCurrentContext(void) ;
38 HDC WINAPI wglGetCurrentDC(void) ;
39 int WINAPI wglGetLayerPaletteEntries(HDC hdc,
43 const COLORREF *pcr) ;
44 void * WINAPI wglGetProcAddress(LPCSTR lpszProc) ;
45 BOOL WINAPI wglMakeCurrent(HDC hdc,
47 BOOL WINAPI wglRealizeLayerPalette(HDC hdc,
50 int WINAPI wglSetLayerPaletteEntries(HDC hdc,
54 const COLORREF *pcr) ;
55 BOOL WINAPI wglShareLists(HGLRC hglrc1,
57 BOOL WINAPI wglSwapLayerBuffers(HDC hdc,
59 BOOL WINAPI wglUseFontBitmaps(HDC hdc,
63 BOOL WINAPI wglUseFontOutlines(HDC hdc,
70 LPGLYPHMETRICSFLOAT lpgmf) ;
71 const char * WINAPI wglGetExtensionsStringARB(HDC hdc) ;
73 #endif /* __DLLS_OPENGL32_WGL_H */