注册 登录
编程论坛 C++教室

luqian 发布于 2008-09-24 20:37, 483 次点击
问个问题  get_size()   是在哪里定义的  有这个函数吗?
2 回复
#2
blueboy820062008-09-24 21:36
IFont::get_Size
Retrieves the point size of the font expressed in a 64-bit CY variable. The upper 32-bits of this value contains the integer point size and the lower 32-bits contains the fractional point size.

HRESULT get_Size(
  CY* psize  //Pointer to the font size.
);
 
Parameters
psize
[out] Pointer to the caller-allocated variable that receives the size.
Return Values
The method supports the standard return value E_UNEXPECTED, as well as the following:

S_OK
The size was retrieved successfully.
E_POINTER
The address in psize is not valid. For example, it may be NULL.
#3
luqian2008-09-30 00:52
xiexie
1