DirectX SDK |
The DirectDrawSurface7.GetForeColor returns the foreground color set by DirectDrawSurface7.SetForeColor.
object.GetForeColor() As Long
If the method succeeds, it returns the foreground color set by DirectDrawSurface7.SetForeColor.
If the method fails, it raises an error, and Err.Number is set.