| DirectX SDK |
The Direct3DEnumPixelFormats.GetItem method returns the description of the specified pixel format.
object.GetItem(index As Long, _
pixelFormat As DDPIXELFORMAT)
If the method fails, an error is raised and Err.Number will be set.