Implement ldap_create_vlv_control{A,W},
[wine] / dlls / opengl32 / wgl.h
1 /* Window-specific OpenGL functions implementation.
2  *
3  * Copyright (c) 2000 Lionel Ulmer
4  * Copyright (c) 2005 Raphael Junqueira
5  *
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.
10  *
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.
15  *
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
19  */
20
21 #ifndef __DLLS_OPENGL32_WGL_H
22 #define __DLLS_OPENGL32_WGL_H
23
24 #include "wingdi.h"
25
26 HGLRC WINAPI wglCreateContext(HDC hdc) ;
27 HGLRC WINAPI wglCreateLayerContext(HDC hdc,
28                                    int iLayerPlane) ;
29 BOOL WINAPI wglCopyContext(HGLRC hglrcSrc,
30                            HGLRC hglrcDst,
31                            UINT mask) ;
32 BOOL WINAPI wglDeleteContext(HGLRC hglrc) ;
33 BOOL WINAPI wglDescribeLayerPlane(HDC hdc,
34                                   int iPixelFormat,
35                                   int iLayerPlane,
36                                   UINT nBytes,
37                                   LPLAYERPLANEDESCRIPTOR plpd) ;
38 HGLRC WINAPI wglGetCurrentContext(void) ;
39 HDC WINAPI wglGetCurrentDC(void) ;
40 int WINAPI wglGetLayerPaletteEntries(HDC hdc,
41                                      int iLayerPlane,
42                                      int iStart,
43                                      int cEntries,
44                                      const COLORREF *pcr) ;
45 void * WINAPI wglGetProcAddress(LPCSTR  lpszProc) ;
46 BOOL WINAPI wglMakeCurrent(HDC hdc,
47                            HGLRC hglrc) ;
48 BOOL WINAPI wglRealizeLayerPalette(HDC hdc,
49                                    int iLayerPlane,
50                                    BOOL bRealize) ;
51 int WINAPI wglSetLayerPaletteEntries(HDC hdc,
52                                      int iLayerPlane,
53                                      int iStart,
54                                      int cEntries,
55                                      const COLORREF *pcr) ;
56 BOOL WINAPI wglShareLists(HGLRC hglrc1,
57                           HGLRC hglrc2) ;
58 BOOL WINAPI wglSwapLayerBuffers(HDC hdc,
59                                 UINT fuPlanes);
60 BOOL WINAPI wglUseFontBitmaps(HDC hdc,
61                               DWORD first,
62                               DWORD count,
63                               DWORD listBase) ;
64 BOOL WINAPI wglUseFontOutlines(HDC hdc,
65                                DWORD first,
66                                DWORD count,
67                                DWORD listBase,
68                                FLOAT deviation,
69                                FLOAT extrusion,
70                                int format,
71                                LPGLYPHMETRICSFLOAT lpgmf) ;
72 const char * WINAPI wglGetExtensionsStringARB(HDC hdc) ;
73
74 BOOL WINAPI wglMakeContextCurrentARB(HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
75 HDC WINAPI wglGetCurrentReadDCARB(void) ;
76
77 #endif /* __DLLS_OPENGL32_WGL_H */