DirectX SDK |
The DirectDraw7.CreateSurface method creates a DirectDrawSurface7 object for this DirectDraw object.
object.CreateSurface( _ dd As DDSURFACEDESC2) As DirectDrawSurface7
If the method succeeds, it returns a DirectDrawSurface7 object.
If the method fails, it raises an error, and Err.Number can be set to one of the following values: