Prev Next

AbortPath info  Overview  Group

The AbortPath function closes and discards any paths in the specified device context.

BOOL AbortPath(

    HDC hdc 

// handle to device context

   );

Parameters

hdc
Identifies the device context from which a path will be discarded.

Return Values

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.

Remarks

If there is an open path bracket in the given device context, the path bracket is closed and the path is discarded. If there is a closed path in the device context, the path is discarded.

See Also

BeginPath, EndPath