From 09d460f422c612456451f79f02734d0c3ecf7ea6 Mon Sep 17 00:00:00 2001 From: Alam Arias Date: Fri, 18 Apr 2008 19:30:03 -0400 Subject: [PATCH] include: Fix wingdi.h to define AW version of wglUseFontBitmaps and wglUseFontOutlines. --- include/wingdi.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/wingdi.h b/include/wingdi.h index ea659284199..14c307d83f7 100644 --- a/include/wingdi.h +++ b/include/wingdi.h @@ -3722,8 +3722,12 @@ WINGDIAPI BOOL WINAPI wglRealizeLayerPalette(HDC,INT,BOOL); WINGDIAPI INT WINAPI wglSetLayerPaletteEntries(HDC,INT,INT,INT,const COLORREF *); WINGDIAPI BOOL WINAPI wglShareLists(HGLRC,HGLRC); WINGDIAPI BOOL WINAPI wglSwapLayerBuffers(HDC,UINT); -WINGDIAPI BOOL WINAPI wglUseFontBitmaps(HDC,DWORD,DWORD,DWORD); -WINGDIAPI BOOL WINAPI wglUseFontOutlines(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,INT,LPGLYPHMETRICSFLOAT); +WINGDIAPI BOOL WINAPI wglUseFontBitmapsA(HDC,DWORD,DWORD,DWORD); +WINGDIAPI BOOL WINAPI wglUseFontBitmapsW(HDC,DWORD,DWORD,DWORD); +#define wglUseFontBitmaps WINELIB_NAME_AW(wglUseFontBitmaps) +WINGDIAPI BOOL WINAPI wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,INT,LPGLYPHMETRICSFLOAT); +WINGDIAPI BOOL WINAPI wglUseFontOutlinesW(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,INT,LPGLYPHMETRICSFLOAT); +#define wglUseFontOutlines WINELIB_NAME_AW(wglUseFontOutlines) #ifdef __WINESRC__ /* the DC hook support is only exported on Win16, the 32-bit version is a Wine extension */