Alam Arias : include: Fix wingdi. h to define AW version of wglUseFontBitmaps and wglUseFontOutlines.
Alexandre Julliard
julliard at winehq.org
Mon Apr 21 07:45:51 CDT 2008
Module: wine
Branch: master
Commit: 09d460f422c612456451f79f02734d0c3ecf7ea6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=09d460f422c612456451f79f02734d0c3ecf7ea6
Author: Alam Arias <Alam.GBC at gmail.com>
Date: Fri Apr 18 19:30:03 2008 -0400
include: Fix wingdi.h to define AW version of wglUseFontBitmaps and wglUseFontOutlines.
---
include/wingdi.h | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/include/wingdi.h b/include/wingdi.h
index ea65928..14c307d 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 */
More information about the wine-cvs
mailing list