函数参考


_WinAPI_DPtoLP

Converts device coordinates into logical coordinates.

#Include <WinAPIEx.au3>
_WinAPI_DPtoLP ( $hDC, ByRef $tPOINT [, $iCount = 1] )

参数

$hDC Handle to the device context.
$tPOINT $tagPOINT structure or structure of points ("long x1;long y1;...long xN;long yN") containing the
x- and y-coordinates to be transformed.
$iCount [可选参数] The number of points.

返回值

成功: 返回 1.
失败: 返回 0 并设置 @error 标志为非 0 值.

注意/说明

The _WinAPI_DPtoLP() function fails if the device coordinates exceed 27 bits, or if the converted logical coordinates
exceed 32 bits. In the case of such an overflow, the results for all the points are undefined.

相关

详情参考

在MSDN中搜索