The EndPath function closes a path bracket and selects the path defined by the bracket into the specified device context.
Creating a clipping region from the path selected into the device context of a form
BOOL EndPath(
HDC hdc // handle to DC
); DECLARE INTEGER EndPath IN gdi32;
INTEGER hdc hdc [in] Handle to the device context into which the new path is selected.
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.
By calling this function an application closes an open path bracket started with BeginPath function.
Home