# Function Reference

# _WinAPI_ScaleWindowExt

Modifies the window for a device context using the ratios formed by the specified multiplicands and divisors

#include <WinAPIGdi.au3>
_WinAPI_ScaleWindowExt ( $hDC, $iXNum, $iXDenom, $iYNum, $iYDenom )

## Parameters

$hDC | Handle to the device context.
$iXNum | The amount by which to multiply the current horizontal extent.
$iXDenom | The amount by which to divide the current horizontal extent.
$iYNum | The amount by which to multiply the current vertical extent.
$iYDenom | The amount by which to divide the current vertical extent.

## Return Value

Success: | True
Failure: | False

## Remarks

Call _WinAPI_GetExtended() to retrieve a $tagSIZE structure containing the previous window extents.

## Related

_WinAPI_GetExtended

## See Also

Search ScaleWindowExtEx in MSDN Library.