The AbortPath function closes and discards any paths in the specified device context.
BOOL AbortPath(
HDC hdc |
// handle to device context |
); |
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.
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.