DirectX SDK |
The DirectDrawSurface7.GetDirectDrawColorControl method returns the DirectDrawColorControl object used with the surface.
object.GetDirectDrawColorControl() As DirectDrawColorControl
If the method succeeds, it returns a DirectDrawColorControl object.
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |