Sets the mapping mode of the specified device context.
#Include <WinAPIEx.au3>
_WinAPI_SetMapMode ( $hDC, $iMode )
$hDC | Handle to the device context. |
$iMode | The new mapping mode. This parameter can be one of the following values. $MM_ANISOTROPIC $MM_HIENGLISH $MM_HIMETRIC $MM_ISOTROPIC $MM_LOENGLISH $MM_LOMETRIC $MM_TEXT $MM_TWIPS |
Success | The previous mapping mode. |
失败: | 返回 0 并设置 @error 标志为非 0 值. |
在MSDN中搜索