GetDeviceCaps

VB声明
Declare Function GetDeviceCaps Lib "gdi32" Alias "GetDeviceCaps" (ByVal hdc As Long, ByVal nIndex As Long) As Long
说明
根据指定设备场景代表的设备的功能返回信息
返回值
Long,参见GetDeviceCaps索引表
参数表
参数 类型及说明
hdc Long,要查询其设备的信息的设备场景
nIndex Long,根据GetDeviceCaps索引表所示常数确定返回信息的类型