DirectX SDK

DirectDrawSurface7.GetFillColor

The DirectDrawSurface7.GetFillColor returns the fill color set by DirectDrawSurface7.SetFillColor.

object.GetFillColor() As Long

Parameters

object
Object expression that resolves to a DirectDrawSurface7 object.

Return Values

If the method succeeds, it returns the fill color value set by DirectDrawSurface7.SetFillColor.

Error Codes

If the method fails, it raises an error, and Err.Number is set.

Remarks

The default fill color is black.