Microsoft DirectX 8.1 (Visual Basic)

DIDEVICEIMAGEINFOHEADER

Contains information about device images. This type is passed to the DirectInputDevice8.GetImageInfo method. On return, it contains information about the device and the images that represent it in the device configuration property sheet.

Type DIDEVICEIMAGEINFOHEADER
    Axes As Long
    Buttons As Long
    ImageCount As Long
    Images() As DIDEVICEIMAGEINFO
    POVs As Long
    Views As Long
End Type

Members

Axes
Number of axes on the device.
Buttons
Number of buttons on the device.
ImageCount
Number of elements in the Images array.
Images
Array of DIDEVICEIMAGEINFO types describing device images and views, overlay images, and callout-string coordinates.
POVs
Number of point-of-view controllers on the device.
Views
Number of views of this device.

Remarks

Before passing this type to DirectInputDevice8.GetImageInfo, the application must initialize the ImageCount and Images members as follows:

' Assume that didev is a DirectInputDevice8 object
 
Dim count as Integer
Dim diImageInfoHdr
 
count = didev.GetImageInfoCount
With diImageInfoHdr
  ImageCount = count
  ReDim Images(count)
End With

Members of the type other than ImageCount are filled with data by the method call.

See Also

DirectInputDevice8.GetImageInfoCount