13,825
社区成员
发帖
与我相关
我的任务
分享
int GetDeviceCaps(
HDC hdc, // device-context handle
int nIndex // index of capability to query
);
Parameters
hdc
Identifies the device context.
nIndex
Specifies the item to return. This parameter can be one of the following values:
Index:
HORZSIZE Width, in millimeters, of the physical screen.
VERTSIZE Height, in millimeters, of the physical screen.