Microsoft DirectX 8.1 (Visual Basic)

DirectInputDevice8.GetImageInfoCount

Retrieves the number of images available for the device. This method is used to ascertain how many array elements must be allocated in the Images member of the DIDEVICEIMAGEINFOHEADER type before the type is passed to the DirectInputDevice8.GetImageInfo.

object.GetImageInfoCount() As Long

Parts

object
Resolves to a DirectInputDevice8 object.

Error Codes

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