mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 19:10:36 +08:00
* include/wingdi.h (GetFontUnicodeRanges,GetGlyphIndicesA,
GetGlyphIndicesW): Declare. (GGI_MARK_NONEXISTING_GLYPHS): Define * lib/gdi32.def (GetFontUnicodeRanges,GetGlyphIndicesA, GetGlyphIndicesW): Add stubs.
This commit is contained in:
parent
fe5cd1608b
commit
9dee1466e8
@ -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>
|
2004-10-24 Dan Aloni <da-x@colinux.org>
|
||||||
|
|
||||||
* include/ddk/ntapi.h (NtQueryFullAttributesFile,
|
* include/ddk/ntapi.h (NtQueryFullAttributesFile,
|
||||||
|
@ -1190,6 +1190,11 @@ extern "C" {
|
|||||||
#define DISPLAY_DEVICE_VGA_COMPATIBLE 0x00000010
|
#define DISPLAY_DEVICE_VGA_COMPATIBLE 0x00000010
|
||||||
#define DISPLAY_DEVICE_REMOVABLE 0x00000020
|
#define DISPLAY_DEVICE_REMOVABLE 0x00000020
|
||||||
#define DISPLAY_DEVICE_MODESPRUNED 0x08000000
|
#define DISPLAY_DEVICE_MODESPRUNED 0x08000000
|
||||||
|
|
||||||
|
#if (_WIN32_WINNT >= 0x0500)
|
||||||
|
#define GGI_MARK_NONEXISTING_GLYPHS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef RC_INVOKED
|
#ifndef RC_INVOKED
|
||||||
typedef struct _ABC {
|
typedef struct _ABC {
|
||||||
int abcA;
|
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 wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT);
|
||||||
BOOL WINAPI wglUseFontOutlinesW(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 AlphaBlend(HDC,int,int,int,int,HDC,int,int,int,int,BLENDFUNCTION);
|
||||||
BOOL WINAPI GradientFill(HDC,PTRIVERTEX,ULONG,PVOID,ULONG,ULONG);
|
BOOL WINAPI GradientFill(HDC,PTRIVERTEX,ULONG,PVOID,ULONG,ULONG);
|
||||||
BOOL WINAPI TransparentBlt(HDC,int,int,int,int,HDC,int,int,int,int,UINT);
|
BOOL WINAPI TransparentBlt(HDC,int,int,int,int,HDC,int,int,int,int,UINT);
|
||||||
#endif
|
#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
|
#ifdef UNICODE
|
||||||
typedef WCHAR BCHAR;
|
typedef WCHAR BCHAR;
|
||||||
typedef DOCINFOW DOCINFO, *LPDOCINFO;
|
typedef DOCINFOW DOCINFO, *LPDOCINFO;
|
||||||
@ -2948,7 +2959,10 @@ typedef DISPLAY_DEVICEW DISPLAY_DEVICE, *PDISPLAY_DEVICE, *LPDISPLAY_DEVICE;
|
|||||||
#define UpdateICMRegKey UpdateICMRegKeyW
|
#define UpdateICMRegKey UpdateICMRegKeyW
|
||||||
#define wglUseFontBitmaps wglUseFontBitmapsW
|
#define wglUseFontBitmaps wglUseFontBitmapsW
|
||||||
#define wglUseFontOutlines wglUseFontOutlinesW
|
#define wglUseFontOutlines wglUseFontOutlinesW
|
||||||
#else
|
#if (_WIN32_WINNT >= 0x0500)
|
||||||
|
#define GetGlyphIndices GetGlyphIndicesW
|
||||||
|
#endif
|
||||||
|
#else /* UNICODE */
|
||||||
typedef BYTE BCHAR;
|
typedef BYTE BCHAR;
|
||||||
typedef DOCINFOA DOCINFO, *LPDOCINFO;
|
typedef DOCINFOA DOCINFO, *LPDOCINFO;
|
||||||
typedef LOGFONTA LOGFONT,*PLOGFONT,*LPLOGFONT;
|
typedef LOGFONTA LOGFONT,*PLOGFONT,*LPLOGFONT;
|
||||||
@ -3022,8 +3036,11 @@ typedef DISPLAY_DEVICEA DISPLAY_DEVICE, *PDISPLAY_DEVICE, *LPDISPLAY_DEVICE;
|
|||||||
#define UpdateICMRegKey UpdateICMRegKeyA
|
#define UpdateICMRegKey UpdateICMRegKeyA
|
||||||
#define wglUseFontBitmaps wglUseFontBitmapsA
|
#define wglUseFontBitmaps wglUseFontBitmapsA
|
||||||
#define wglUseFontOutlines wglUseFontOutlinesA
|
#define wglUseFontOutlines wglUseFontOutlinesA
|
||||||
|
#if (_WIN32_WINNT >= 0x0500)
|
||||||
|
#define GetGlyphIndices GetGlyphIndicesA
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif /* UNICODE */
|
||||||
|
#endif /* RC_INVOKED */
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -159,6 +159,9 @@ GetFontData@20
|
|||||||
GetFontLanguageInfo@4
|
GetFontLanguageInfo@4
|
||||||
GetFontResourceInfo@16
|
GetFontResourceInfo@16
|
||||||
GetFontResourceInfoW@16
|
GetFontResourceInfoW@16
|
||||||
|
GetFontUnicodeRanges@8
|
||||||
|
GetGlyphIndicesA@20
|
||||||
|
GetGlyphIndicesW@20
|
||||||
GetGlyphOutline@28
|
GetGlyphOutline@28
|
||||||
GetGlyphOutlineA@28
|
GetGlyphOutlineA@28
|
||||||
GetGlyphOutlineW@28
|
GetGlyphOutlineW@28
|
||||||
|
Loading…
x
Reference in New Issue
Block a user