PolyPolyline  GDGSJL 

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

   );

 

 

Parameters

hdc

Identifies the device context.

lppt

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

lpdwPolyPoints

Points to an array of variables specifying the number of points in the lppt array for the corresponding polyline. Each entry must be greater than or equal to two.

cCount

Specifies the total number of counts in the lpdwPolyPoints array.

 

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

Remarks

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.

See Also

POINT, Polyline, PolylineTo