# Function Reference

# _WinAPI_StrokePath

Renders the specified path by using the current pen

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

## Parameters

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

## Return Value

Success: | True
Failure: | False

## Remarks

The path, if it is to be drawn by this function, must have been completed through a call to _WinAPI_EndPath().
Unlike other path drawing functions such as _WinAPI_StrokeAndFillPath(), _WinAPI_StrokePath() will not attempt
to close the path by drawing a straight line from the first point on the path to the last point on the path.

## See Also

Search StrokePath in MSDN Library.