Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-11-02 12:07:33 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2004-11-02 12:07:33 +0300
commit9dee1466e82480dc1224da64cb654f4b0a286ca8 (patch)
treefddb7c6c891d20f8dfd9cb485f15bc38e571e8da /winsup/w32api
parentfe5cd1608b9a7b37cad521b67f8f0856fb533e98 (diff)
* include/wingdi.h (GetFontUnicodeRanges,GetGlyphIndicesA,
GetGlyphIndicesW): Declare. (GGI_MARK_NONEXISTING_GLYPHS): Define * lib/gdi32.def (GetFontUnicodeRanges,GetGlyphIndicesA, GetGlyphIndicesW): Add stubs.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog8
-rw-r--r--winsup/w32api/include/wingdi.h23
-rw-r--r--winsup/w32api/lib/gdi32.def3
3 files changed, 31 insertions, 3 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 81a589cda..e9e5f4831 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,11 @@
+2004-11-02 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/wingdi.h (GetFontUnicodeRanges,GetGlyphIndicesA,
+ GetGlyphIndicesW): Declare.
+ (GGI_MARK_NONEXISTING_GLYPHS): Define
+ * lib/gdi32.def (GetFontUnicodeRanges,GetGlyphIndicesA,
+ GetGlyphIndicesW): Add stubs.
+
2004-10-24 Dan Aloni <da-x@colinux.org>
* include/ddk/ntapi.h (NtQueryFullAttributesFile,
diff --git a/winsup/w32api/include/wingdi.h b/winsup/w32api/include/wingdi.h
index bf678a742..8845f6954 100644
--- a/winsup/w32api/include/wingdi.h
+++ b/winsup/w32api/include/wingdi.h
@@ -1190,6 +1190,11 @@ extern "C" {
#define DISPLAY_DEVICE_VGA_COMPATIBLE 0x00000010
#define DISPLAY_DEVICE_REMOVABLE 0x00000020
#define DISPLAY_DEVICE_MODESPRUNED 0x08000000
+
+#if (_WIN32_WINNT >= 0x0500)
+#define GGI_MARK_NONEXISTING_GLYPHS 1
+#endif
+
#ifndef RC_INVOKED
typedef struct _ABC {
int abcA;
@@ -2868,12 +2873,18 @@ BOOL WINAPI wglUseFontBitmapsW(HDC,DWORD,DWORD,DWORD);
BOOL WINAPI wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT);
BOOL WINAPI wglUseFontOutlinesW(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT);
-#if (WINVER>= 0x0500)
+#if (WINVER >= 0x0500)
BOOL WINAPI AlphaBlend(HDC,int,int,int,int,HDC,int,int,int,int,BLENDFUNCTION);
BOOL WINAPI GradientFill(HDC,PTRIVERTEX,ULONG,PVOID,ULONG,ULONG);
BOOL WINAPI TransparentBlt(HDC,int,int,int,int,HDC,int,int,int,int,UINT);
#endif
+#if (_WIN32_WINNT >= 0x0500)
+DWORD WINAPI GetFontUnicodeRanges(HDC,LPGLYPHSET);
+DWORD WINAPI GetGlyphIndicesA(HDC,LPCSTR,int,LPWORD,DWORD);
+DWORD WINAPI GetGlyphIndicesW(HDC,LPCWSTR,int,LPWORD,DWORD);
+#endif
+
#ifdef UNICODE
typedef WCHAR BCHAR;
typedef DOCINFOW DOCINFO, *LPDOCINFO;
@@ -2948,7 +2959,10 @@ typedef DISPLAY_DEVICEW DISPLAY_DEVICE, *PDISPLAY_DEVICE, *LPDISPLAY_DEVICE;
#define UpdateICMRegKey UpdateICMRegKeyW
#define wglUseFontBitmaps wglUseFontBitmapsW
#define wglUseFontOutlines wglUseFontOutlinesW
-#else
+#if (_WIN32_WINNT >= 0x0500)
+#define GetGlyphIndices GetGlyphIndicesW
+#endif
+#else /* UNICODE */
typedef BYTE BCHAR;
typedef DOCINFOA DOCINFO, *LPDOCINFO;
typedef LOGFONTA LOGFONT,*PLOGFONT,*LPLOGFONT;
@@ -3022,8 +3036,11 @@ typedef DISPLAY_DEVICEA DISPLAY_DEVICE, *PDISPLAY_DEVICE, *LPDISPLAY_DEVICE;
#define UpdateICMRegKey UpdateICMRegKeyA
#define wglUseFontBitmaps wglUseFontBitmapsA
#define wglUseFontOutlines wglUseFontOutlinesA
+#if (_WIN32_WINNT >= 0x0500)
+#define GetGlyphIndices GetGlyphIndicesA
#endif
-#endif
+#endif /* UNICODE */
+#endif /* RC_INVOKED */
#ifdef __cplusplus
}
#endif
diff --git a/winsup/w32api/lib/gdi32.def b/winsup/w32api/lib/gdi32.def
index 927664c95..a0df3995b 100644
--- a/winsup/w32api/lib/gdi32.def
+++ b/winsup/w32api/lib/gdi32.def
@@ -159,6 +159,9 @@ GetFontData@20
GetFontLanguageInfo@4
GetFontResourceInfo@16
GetFontResourceInfoW@16
+GetFontUnicodeRanges@8
+GetGlyphIndicesA@20
+GetGlyphIndicesW@20
GetGlyphOutline@28
GetGlyphOutlineA@28
GetGlyphOutlineW@28