DirectX SDK

Direct3DEnumPixelFormats.GetCount

The Direct3DEnumPixelFormats.GetCount method returns the number of supported pixel formats of the Direct3D device.

object.GetCount() As Long

Parameters

object
Object expression that resolves to a Direct3DEnumPixelFormats object.

Return Values

If the method succeeds, the number of supported pixel formats is returned.

Error Codes

If the method fails, an error is raised and Err.Number will be set.