-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgdi.h
50 lines (50 loc) · 1.16 KB
/
gdi.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
GDI.EXE header
*/
#include "wow32.h"
typedef FARPROC16 FONTENUMPROC16;
#pragma pack(push)
#pragma pack(1)
#define LF_FACESIZE16 32
typedef struct tagLOGFONT16 {
INT16 lfHeight;
INT16 lfWidth;
INT16 lfEscapement;
INT16 lfOrientation;
INT16 lfWeight;
BYTE lfItalic;
BYTE lfUnderline;
BYTE lfStrikeOut;
BYTE lfCharSet;
BYTE lfOutPrecision;
BYTE lfClipPrecision;
BYTE lfQuality;
BYTE lfPitchAndFamily;
char lfFaceName[LF_FACESIZE16];
} LOGFONT16;
typedef struct tagTEXTMETRIC16 {
INT16 tmHeight;
INT16 tmAscent;
INT16 tmDescent;
INT16 tmInternalLeading;
INT16 tmExternalLeading;
INT16 tmAveCharWidth;
INT16 tmMaxCharWidth;
INT16 tmWeight;
BYTE tmItalic;
BYTE tmUnderlined;
BYTE tmStruckOut;
BYTE tmFirstChar;
BYTE tmLastChar;
BYTE tmDefaultChar;
BYTE tmBreakChar;
BYTE tmPitchAndFamily;
BYTE tmCharSet;
INT16 tmOverhang;
INT16 tmDigitizedAspectX;
INT16 tmDigitizedAspectY;
} TEXTMETRIC16;
#pragma pack(pop)
//330
INT16 EnumFontFamilies16(HDC16 hdc, char *lpstrFontName, FONTENUMPROC16 lpfnFontEnumProc,
LPARAM16 UserData);