函数参考


_WinAPI_GetCurrentObject

Retrieves a handle to an object of the specified type that has been selected into the specified device context.

#Include <WinAPIEx.au3>
_WinAPI_GetCurrentObject ( $hDC, $iType )

参数

$hDC Handle to the device context.
$iType The object type to be queried. This parameter can be one of the following values.

$OBJ_BITMAP
$OBJ_BRUSH
$OBJ_COLORSPACE
$OBJ_FONT
$OBJ_PAL
$OBJ_PEN

返回值

Success Handle to the specified object.
失败: 返回 0 并设置 @error 标志为非 0 值.

注意/说明

None

相关

详情参考

在MSDN中搜索