Platform SDK: DirectX

DirectDrawEnumModes.GetCount

The DirectDrawEnumModes.GetCount method returns the number of available video modes.

object.GetCount() As Long

Parameters

object
Object expression that resolves to a DirectDrawEnumModes object.

Return Values

If the method succeeds, it returns the number of available video modes.

Error Codes

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

Remarks

Each entry represents a video mode. To get a description of an individual video mode, use DirectDrawEnumModes.GetItem.