Defined LOGFONTW and now use it in DEVINFO

svn path=/trunk/; revision=2022
This commit is contained in:
Jason Filby 2001-07-01 14:31:46 +00:00
parent 93bd949df5
commit b7239a157c
2 changed files with 21 additions and 4 deletions

View file

@ -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;

View file

@ -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;