Skip to content

Commit c197abd

Browse files
committed
[WIN32K] Add some missing includes of font.h
1 parent 152947a commit c197abd

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

win32ss/gdi/font/font.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#pragma once
22

3-
#define LFONT_GetObject FontGetObject
4-
53
#define ENGAPI
64

75
#define PENALTY_Max 127979

win32ss/gdi/font/ufi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
#include <win32k.h>
9-
#include <include/font.h>
9+
#include "font.h"
1010

1111
#define NDEBUG
1212
#include "font.h"

win32ss/gdi/ntgdi/dclife.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88

99
#include <win32k.h>
10+
#include "../font/font.h"
1011

1112
#define NDEBUG
1213
#include <debug.h>

win32ss/gdi/ntgdi/dcobjs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88

99
#include <win32k.h>
10+
#include "../font/font.h"
1011

1112
#define NDEBUG
1213
#include <debug.h>

win32ss/gdi/ntgdi/dcstate.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88

99
#include <win32k.h>
10+
#include "../font/font.h"
1011

1112
#define NDEBUG
1213
#include <debug.h>

win32ss/gdi/ntgdi/text.h

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
#pragma once
22

33
/* GDI logical font object */
4-
typedef struct _LFONT TEXTOBJ, *PTEXTOBJ;
5-
64
typedef struct _LFONT LFONT, *PLFONT;
75

86
/* Internal interface */
97

10-
#define TEXTOBJ_UnlockText(pBMObj) GDIOBJ_vUnlockObject ((POBJ)pBMObj)
118
NTSTATUS FASTCALL TextIntCreateFontIndirect(CONST LPLOGFONTW lf, HFONT *NewFont);
129
BOOL FASTCALL InitFontSupport(VOID);
13-
ULONG FASTCALL FontGetObject(PTEXTOBJ TextObj, ULONG Count, PVOID Buffer);
10+
#define FontGetObject LFONT_GetObject
11+
12+
ULONG
13+
FASTCALL
14+
LFONT_GetObject(
15+
PLFONT plfont,
16+
ULONG Count,
17+
PVOID Buffer);
1418

1519
HFONT
1620
NTAPI

0 commit comments

Comments
 (0)