StrokePath function (wingdi.h)
The StrokePath function renders the specified path by using the current pen.
BOOL StrokePath( [in] HDC hdc );
Handle to a device context that contains the completed path.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
The path, if it is to be drawn by StrokePath, must have been completed through a call to EndPath. Calling this function on a path for which EndPath has not been called will cause this function to fail and return zero. Unlike other path drawing functions such as StrokeAndFillPath, 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.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||wingdi.h (include Windows.h)|