Microsoft DirectX 8.1 (Visual Basic) |
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
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.