LibUIDK Documentation
ContentsIndexHome
PreviousUpNext
CUIMgr::StringToStruct Method
C++
static int StringToStruct(LPCTSTR lpszStruct, void * pStruct, UINT uSizeStruct);

把*.UI中描述字体的字符串转成LOGFONT结构体.

Parameters 
Description 
LPCTSTR lpszStruct 
[in] 指定包含字体信息的字符串. 
void * pStruct 
[out] 指定LOGFONT结构体地址. 
UINT uSizeStruct 
[in] 指定LOGFONT结构体的大小. 

成功返回0, 失败返回非0值.