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 typedef struct _DEVINFO
{ {
ULONG flGraphicsCaps; ULONG flGraphicsCaps;
LOGFONT lfDefaultFont; LOGFONTW lfDefaultFont;
LOGFONT lfAnsiVarFont; LOGFONTW lfAnsiVarFont;
LOGFONT lfAnsiFixFont; LOGFONTW lfAnsiFixFont;
ULONG cFonts; ULONG cFonts;
ULONG iDitherFormat; ULONG iDitherFormat;
USHORT cxDither; USHORT cxDither;

View file

@ -443,7 +443,24 @@ typedef struct tagLOGFONT {
BYTE lfPitchAndFamily; BYTE lfPitchAndFamily;
TCHAR lfFaceName[LF_FACESIZE]; TCHAR lfFaceName[LF_FACESIZE];
} LOGFONT, *LPLOGFONT, *PLOGFONT; } 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 { typedef struct {
DWORD lStructSize; DWORD lStructSize;
HWND hwndOwner; HWND hwndOwner;