From b7239a157ca297ccdb05abf8fcc73bb4585b1240 Mon Sep 17 00:00:00 2001 From: Jason Filby Date: Sun, 1 Jul 2001 14:31:46 +0000 Subject: [PATCH] Defined LOGFONTW and now use it in DEVINFO svn path=/trunk/; revision=2022 --- reactos/include/ddk/winddi.h | 6 +++--- reactos/include/structs.h | 19 ++++++++++++++++++- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/reactos/include/ddk/winddi.h b/reactos/include/ddk/winddi.h index 5f0a34fa8da..ca1d4750787 100644 --- a/reactos/include/ddk/winddi.h +++ b/reactos/include/ddk/winddi.h @@ -465,9 +465,9 @@ typedef struct _COLORINFO typedef struct _DEVINFO { ULONG flGraphicsCaps; - LOGFONT lfDefaultFont; - LOGFONT lfAnsiVarFont; - LOGFONT lfAnsiFixFont; + LOGFONTW lfDefaultFont; + LOGFONTW lfAnsiVarFont; + LOGFONTW lfAnsiFixFont; ULONG cFonts; ULONG iDitherFormat; USHORT cxDither; diff --git a/reactos/include/structs.h b/reactos/include/structs.h index 3df5cb83cbc..3dbfdc9e7d2 100644 --- a/reactos/include/structs.h +++ b/reactos/include/structs.h @@ -443,7 +443,24 @@ typedef struct tagLOGFONT { BYTE lfPitchAndFamily; TCHAR lfFaceName[LF_FACESIZE]; } LOGFONT, *LPLOGFONT, *PLOGFONT; - + +typedef struct tagLOGFONTW { + LONG lfHeight; + LONG lfWidth; + LONG lfEscapement; + LONG lfOrientation; + LONG lfWeight; + BYTE lfItalic; + BYTE lfUnderline; + BYTE lfStrikeOut; + BYTE lfCharSet; + BYTE lfOutPrecision; + BYTE lfClipPrecision; + BYTE lfQuality; + BYTE lfPitchAndFamily; + LPWSTR lfFaceName; +} LOGFONTW, *LPLOGFONTW, *PLOGFONTW; + typedef struct { DWORD lStructSize; HWND hwndOwner;