Platform SDK: DirectX |
The DirectDrawEnumSurfaces.GetItem method returns a specific surface from the list of created surfaces of the DirectDrawEnumSurfaces object.
object.GetItem(index As Long) As DirectDrawSurface7
DirectDrawSurface7 object describing the surface is returned.
If the method fails, it raises an error, and Err.Number is set.
To obtain the number of created surfaces, call the DirectDrawEnumSurfaces.GetCount method.