# Function Reference

# _WinAPI_SelectClipPath

Selects the current path as a clipping region, combining the new region with any existing clipping region

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

## Parameters

$hDC | Handle to the device context of the path.
$iMode | [optional] The way to use the path. This parameter can be one of the following values. $RGN_AND $RGN_COPY (Default) $RGN_DIFF $RGN_OR $RGN_XOR

## Return Value

Success: | True.
Failure: | False, call _WinAPI_GetLastError() to get extended error information.

## See Also

Search SelectClipPath in MSDN Library.