检索有关显示设备的各种形式设备特定的信息。
int GetDeviceCaps(
int nIndex
) const;
参数
- nIndex
指定信息的类型返回。为值列表参见。Windows SDK 的 GetDeviceCaps。
返回值
请求的功能的值,如果函数运行成功。
示例
为 CPrintDialog::GetDefaults参见示例。
要求
Header: afxwin.h
检索有关显示设备的各种形式设备特定的信息。
int GetDeviceCaps(
int nIndex
) const;
请求的功能的值,如果函数运行成功。
为 CPrintDialog::GetDefaults参见示例。
Header: afxwin.h