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;
WCHAR lfFaceName [LF_FACESIZE];
PLOGFONTW} LOGFONTW, * and * NPLOGFONTW NEAR and FAR * LPLOGFONTW;
One final WCHAR lfFaceName [LF_FACESIZE]; Value, I with the assignment lf lfFaceName [LF_FACESIZE]=_T (" tahoma "); Tip me cannot be "const would *" types of values assigned to "WCHAR" types of entities,
Then I found LPCTSTR types of data can be used _T (" * * * * ") to the assignment,
Don't _T (" * * * * ") is often a pointer data? , that how to use=assignment to WCHAR data type Chinese
CodePudding user response:
L "Chinese characters"CodePudding user response: