Closes and discards any paths in the device context. If there is an open path bracket in the 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.
CDC::FillPath
BOOL FillPath( );
Closes any open figures in the current path and fills the path’s interior by using the current brush and polygon-filling mode. After its interior is filled, the path is discarded from the device context.