# Function Reference

# _WinAPI_FillPath

Closes any open figures in the current path and fills the path's interior by using the current brush

#include <WinAPIGdi.au3>
_WinAPI_FillPath ( $hDC )

## Parameters

$hDC | Handle to a device context that contains a valid path.

## Return Value

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

## Remarks

After its interior is filled, the path is discarded from the DC identified by the $hDC parameter.

## See Also

Search FillPath in MSDN Library.