EndPath

  BOOL EndPath(hdc)    
  HDC hdc;    

The EndPath function ends a path bracket; that is, it ends the sequence of functions defining the size and shape of the path started by BeginPath.

Parameters

hdc

Identifies the DC.

Return Value

The return value is TRUE if the call succeeded, otherwise FALSE.

Errors

Use the GetLastError function to retrieve the error value, which may be one of the following:

ERROR_INVALID_MODE  
ERROR_INVALID_PARAMETER  

See Also

BeginPath