Partager via


CDC::AbortPath

Closes and discards any paths in the device context.

BOOL AbortPath( );

Return Value

Nonzero if the function is successful; otherwise 0.

Remarks

If there is an open path bracket in the 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.

Requirements

Header: afxwin.h

See Also

Concepts

CDC Class

CDC Members

Hierarchy Chart

CDC::BeginPath

CDC::EndPath