# Function Reference

# _WinAPI_FlattenPath

Transforms any curves in the path that is selected into the current DC, turning each curve into a sequence of lines

#include <WinAPIGdi.au3>
_WinAPI_FlattenPath ( $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

## See Also

Search FlattenPath in MSDN Library.