This method of the DirectDrawSurface Class fills the given rectangle on the surface with the given fill value.
public int bltColorFill(Rect dest, int fillValue);
Returns S_OK or 0 if the operation is successful; otherwise, returns an error code.
dest | A Rect object that defines the upper-left and lower-right points of the rectangle on the destination surface to be filled. |
fillvalue | The fill value to fill the rectangle with. |