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;