Microsoft DirectX 8.0 (Visual Basic) |
Describes a device's data format. This type is used with the DirectInputDevice8.SetDataFormat method.
Type DIDATAFORMAT dataSize As Long lFlags As CONST_DIDATAFORMATFLAGS lObjSize As Long numObjs As Long End Type
Applications need to create a DIDATAFORMAT type only for nonstandard devices. For the mouse, keyboard, and joystick, you set the data format by using DirectInputDevice8.SetCommonDataFormat.