This documentation is archived and is not being maintained.


Draws multiple series of connected line segments.

BOOL PolyPolyline( 
   const POINT* lpPoints, 
   const DWORD* lpPolyPoints, 
   int nCount  


Points to an array of structures that contains the vertices of the polylines. The polylines are specified consecutively.


Points to an array of variables specifying the number of points in the lpPoints array for the corresponding polygon. Each entry must be greater than or equal to 2.


Specifies the total number of counts in the lpPolyPoints array.

Nonzero if the function is successful; otherwise 0.

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.

Header: afxwin.h