Platform SDK: DirectX |
The Direct3D7.GetDirectDraw method retrieves the DirectDraw7 object associated with this Direct3D object.
object.GetDirectDraw() As DirectDraw7
If the method succeeds, a reference to a DirectDraw7 object is returned.
If the method fails, an error is raised and Err.Number may be set to one of the following values:
DDERR_INVALIDOBJECT |
DDERR_OUTOFMEMORY |
For information on trapping errors, see the Visual Basic Error Trapping topic.