DirectX SDK |
The DirectDrawSurface7.GetDirectDrawGammaControl method returns the DirectDrawGammaControl object used with the surface.
object.GetDirectDrawGammaControl() As DirectDrawGammaControl
If the method succeeds, it returns a DirectDrawGammaControl 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 |