mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:31:39 +00:00
include: Add and fix some WGL prototypes.
This commit is contained in:
parent
d138172b58
commit
bb772c2f3e
|
@ -439,14 +439,10 @@ BOOL WINAPI wglDescribeLayerPlane(HDC hdc,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* wglGetLayerPaletteEntries (OPENGL32.@)
|
* wglGetLayerPaletteEntries (OPENGL32.@)
|
||||||
*/
|
*/
|
||||||
int WINAPI wglGetLayerPaletteEntries(HDC hdc,
|
int WINAPI wglGetLayerPaletteEntries( HDC hdc, int plane, int start, int count, COLORREF *colors )
|
||||||
int iLayerPlane,
|
{
|
||||||
int iStart,
|
FIXME( "hdc %p, plane %d, start %d, count %d, colors %p, stub!\n", hdc, plane, start, count, colors );
|
||||||
int cEntries,
|
return 0;
|
||||||
const COLORREF *pcr) {
|
|
||||||
FIXME("(): stub!\n");
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
|
|
@ -4192,6 +4192,14 @@ WINGDIAPI BOOL WINAPI PolyTextOutW(HDC,const POLYTEXTW*,INT);
|
||||||
#define WGL_FONT_LINES 0
|
#define WGL_FONT_LINES 0
|
||||||
#define WGL_FONT_POLYGONS 1
|
#define WGL_FONT_POLYGONS 1
|
||||||
|
|
||||||
|
typedef struct _WGLSWAP
|
||||||
|
{
|
||||||
|
HDC hdc;
|
||||||
|
UINT uiFlags;
|
||||||
|
} WGLSWAP, *PWGLSWAP, *LPWGLSWAP;
|
||||||
|
|
||||||
|
#define WGL_SWAPMULTIPLE_MAX 16
|
||||||
|
|
||||||
/* WGL prototypes */
|
/* WGL prototypes */
|
||||||
WGLAPI HGLRC WINAPI wglCreateContext(HDC);
|
WGLAPI HGLRC WINAPI wglCreateContext(HDC);
|
||||||
WGLAPI HGLRC WINAPI wglCreateLayerContext(HDC,INT);
|
WGLAPI HGLRC WINAPI wglCreateLayerContext(HDC,INT);
|
||||||
|
@ -4200,13 +4208,14 @@ WGLAPI BOOL WINAPI wglDeleteContext(HGLRC);
|
||||||
WGLAPI BOOL WINAPI wglDescribeLayerPlane(HDC,INT,INT,UINT,LPLAYERPLANEDESCRIPTOR);
|
WGLAPI BOOL WINAPI wglDescribeLayerPlane(HDC,INT,INT,UINT,LPLAYERPLANEDESCRIPTOR);
|
||||||
WGLAPI HGLRC WINAPI wglGetCurrentContext(void);
|
WGLAPI HGLRC WINAPI wglGetCurrentContext(void);
|
||||||
WGLAPI HDC WINAPI wglGetCurrentDC(void);
|
WGLAPI HDC WINAPI wglGetCurrentDC(void);
|
||||||
WGLAPI INT WINAPI wglGetLayerPaletteEntries(HDC,INT,INT,INT,const COLORREF *);
|
WGLAPI INT WINAPI wglGetLayerPaletteEntries(HDC,INT,INT,INT,COLORREF *);
|
||||||
WGLAPI PROC WINAPI wglGetProcAddress(LPCSTR);
|
WGLAPI PROC WINAPI wglGetProcAddress(LPCSTR);
|
||||||
WGLAPI BOOL WINAPI wglMakeCurrent(HDC,HGLRC);
|
WGLAPI BOOL WINAPI wglMakeCurrent(HDC,HGLRC);
|
||||||
WGLAPI BOOL WINAPI wglRealizeLayerPalette(HDC,INT,BOOL);
|
WGLAPI BOOL WINAPI wglRealizeLayerPalette(HDC,INT,BOOL);
|
||||||
WGLAPI INT WINAPI wglSetLayerPaletteEntries(HDC,INT,INT,INT,const COLORREF *);
|
WGLAPI INT WINAPI wglSetLayerPaletteEntries(HDC,INT,INT,INT,const COLORREF *);
|
||||||
WGLAPI BOOL WINAPI wglShareLists(HGLRC,HGLRC);
|
WGLAPI BOOL WINAPI wglShareLists(HGLRC,HGLRC);
|
||||||
WGLAPI BOOL WINAPI wglSwapLayerBuffers(HDC,UINT);
|
WGLAPI BOOL WINAPI wglSwapLayerBuffers(HDC,UINT);
|
||||||
|
WGLAPI DWORD WINAPI wglSwapMultipleBuffers(UINT,const WGLSWAP *);
|
||||||
WGLAPI BOOL WINAPI wglUseFontBitmapsA(HDC,DWORD,DWORD,DWORD);
|
WGLAPI BOOL WINAPI wglUseFontBitmapsA(HDC,DWORD,DWORD,DWORD);
|
||||||
WGLAPI BOOL WINAPI wglUseFontBitmapsW(HDC,DWORD,DWORD,DWORD);
|
WGLAPI BOOL WINAPI wglUseFontBitmapsW(HDC,DWORD,DWORD,DWORD);
|
||||||
#define wglUseFontBitmaps WINELIB_NAME_AW(wglUseFontBitmaps)
|
#define wglUseFontBitmaps WINELIB_NAME_AW(wglUseFontBitmaps)
|
||||||
|
|
Loading…
Reference in a new issue