Export (0) Print
Expand All

AbortPath function

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

Syntax


BOOL AbortPath(
  _In_  HDC hdc
);

Parameters

hdc [in]

Handle to the device context from which a path will be discarded.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

Library

Gdi32.lib

DLL

Gdi32.dll

See also

Paths Overview
Path Functions
BeginPath
EndPath

 

 

Community Additions

ADD
Show:
© 2014 Microsoft