DataFormat Structure (Microsoft.DirectX.DirectInput)
Describes a device's data format. This structure is used with the Inputdevice9Setdataformat method.
Visual Basic Public Structure DataFormat C# public struct DataFormat C++ public value class DataFormat sealed JScript In JScript, you can use structures, but you cannot define your own.
The following table lists the members exposed by the object.
Fields
Field Description ObjectDataFormat Methods
Method Description DataFormat Initializes a new instance of the object. ToString Obtains a string representation of the current instance. Properties
Property Description DataSize Size of a data packet returned by the device, in bytes. This value must be a multiple of 4 and must exceed the largest offset value for an object's data within the data packet. Flags Flags describing other attributes of the data format. This value can be one of the following:
Namespace Microsoft.DirectX.DirectInput Assembly Microsoft.DirectX.DirectInput (microsoft.directx.directinput.dll) Strong Name Microsoft.DirectX.DirectInput, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492
Show: