DirectX SDK |
The DirectDrawSurface7.GetCaps method retrieves the capabilities of the surface. These capabilities are not necessarily related to the capabilities of the display device.
object.GetCaps(caps As DDSCAPS2)
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |