The PolyPolyline function draws multiple series of connected line segments.
BOOL PolyPolyline(
HDC hdc, |
// handle of a device context |
CONST POINT *lppt, |
// address of an array of points |
CONST DWORD *lpdwPolyPoints, |
// address of an array of values |
DWORD cCount |
// number of counts in the second array |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
The line segments are drawn by using the current pen. The figures formed by the segments are not filled.
The current position is neither used nor updated by this function.