Platform SDK: DirectX |
The DirectDrawEnumSurfaces.GetCount method returns the number of created surfaces.
object.GetCount() As Long
If the method succeeds, it returns the number of created surfaces.
If the method fails, it raises an error, and Err.Number is set.
Each entry represents created DirectDraw surfaces. To get a description of a surface, use DirectDrawEnumSurfaces.GetItem.