DirectX SDK

DirectDrawEnum.GetCount

The DirectDrawEnum.GetCount method returns the number of DirectDraw drivers installed on the system.

object.GetCount() As Long

Parameters

object
Object expression that resolves to a DirectDrawEnum object.

Return Values

If the method succeeds, it returns the number of entries in the enumeration object.

Error Codes

If the method fails, it raises an error, and Err.Number is set.

Remarks

Each entry represents a DirectDraw driver description. To get individual driver descriptions, use DirectDrawEnum.GetDescription, DirectDrawEnum.GetGuid, and DirectDrawEnum.GetName.