AbortPath

  BOOL AbortPath(hdc);    
  HDC hdc;    

The AbortPath function aborts and discards any paths in the DC. If there is an active path in the DC started by the BeginPath function, the path is ended and discarded. If there is an inactive path in the DC, started by BeginPath and ended by EndPath, the path is discarded.

Parameters

hdc

Identifies the device context where paths will be discarded.

Return Value

The return value is TRUE if the function was successful, or FALSE if an error occurred. To obtain extended error information, use the GetLastError function.

See Also

BeginPath, EndPath