# Function Reference

# _WinAPI_SetPolyFillMode

Sets the polygon fill mode for functions that fill polygons

#include <WinAPIGdi.au3>
_WinAPI_SetPolyFillMode ( $hDC [, $iMode = $ALTERNATE] )

## Parameters

$hDC | Handle to the device context.
$iMode | [optional] The new fill mode. This parameter can be one of the following values. $ALTERNATE (Default) $WINDING

## Return Value

Success: | The previous filling mode.
Failure: | 0.

## See Also

Search SetPolyFillMode in MSDN Library.