The ExtFloodFill function fills an area of the display surface with the current brush.
Declare Function ExtFloodFill Lib "gdi32" Alias "ExtFloodFill" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal crColor As Long, ByVal wFillType As Long) As Long
Handle to a device context.
Specifies the logical x-coordinate of the point where filling is to begin.
Specifies the logical y-coordinate of the point where filling is to begin.
Specifies the color of the boundary or of the area to be filled. The interpretation of crColor depends on the value of the fuFillType parameter.
Specifies the type of fill operation to be performed. It must be one of the following values:
The fill area is bounded by the color specified by the crColor parameter. This style is identical to the filling performed by the FloodFill function.
The fill area is defined by the color that is specified by crColor. Filling continues outward in all directions as long as the color is encountered. This style is useful for filling areas with multicolored boundaries.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.