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
51 COLORREF crTransparent;
52 } LAYERPLANEDESCRIPTOR;
53 typedef LAYERPLANEDESCRIPTOR* LPLAYERPLANEDESCRIPTOR;
63 POINTFLOAT gmfptGlyphOrigin;
67 typedef GLYPHMETRICSFLOAT *LPGLYPHMETRICSFLOAT;
69 HGLRC WINAPI wglCreateContext(HDC hdc) ;
70 HGLRC WINAPI wglCreateLayerContext(HDC hdc,
72 BOOL WINAPI wglCopyContext(HGLRC hglrcSrc,
75 BOOL WINAPI wglDeleteContext(HGLRC hglrc) ;
76 BOOL WINAPI wglDescribeLayerPlane(HDC hdc,
80 LPLAYERPLANEDESCRIPTOR plpd) ;
81 HGLRC WINAPI wglGetCurrentContext(void) ;
82 HDC WINAPI wglGetCurrentDC(void) ;
83 int WINAPI wglGetLayerPaletteEntries(HDC hdc,
87 const COLORREF *pcr) ;
88 void * WINAPI wglGetProcAddress(LPCSTR lpszProc) ;
89 BOOL WINAPI wglMakeCurrent(HDC hdc,
91 BOOL WINAPI wglRealizeLayerPalette(HDC hdc,
94 int WINAPI wglSetLayerPaletteEntries(HDC hdc,
98 const COLORREF *pcr) ;
99 BOOL WINAPI wglShareLists(HGLRC hglrc1,
101 BOOL WINAPI wglSwapLayerBuffers(HDC hdc,
103 BOOL WINAPI wglUseFontBitmaps(HDC hdc,
107 BOOL WINAPI wglUseFontOutlines(HDC hdc,
114 LPGLYPHMETRICSFLOAT lpgmf) ;
115 const char * WINAPI wglGetExtensionsStringARB(HDC hdc) ;
117 #endif /* __DLLS_OPENGL32_WGL_H */