DataFormat Structure

Language:

Describes a device's data format. This structure is used with the Inputdevice9Setdataformat method.

Definition

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.

Members Table

Field Description
ObjectDataFormat
Method Description
DataFormat Initializes a new instance of the object.
ToString Obtains a string representation of the current instance.
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:

Structure Information

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

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center