DataFormat Structure
Language: Visual Basic .NET C# Managed C++ JScript .NET (Show All)
Note: This documentation is preliminary and is subject to change.
Describes a device's data format. This structure is used with the Inputdevice9Setdataformat method.
Definition
Visual Basic .NET
Public Structure DataFormat
C#
public struct DataFormat
Managed C++
public __value struct DataFormat
JScript .NET
In JScript .NET, you can use structures, but you cannot define your own.
Members Table
The following table lists the members exposed by the object. Click a tab on the left to choose the type of member you want to view.
Fields
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:
Structure Information
Namespace
Microsoft.DirectX.DirectInput
Assembly
Microsoft.DirectX.DirectInput (microsoft.directx.directinput.dll)
Strong Name
Microsoft.DirectX.DirectInput,
Version=1.0.2902.0,
Culture=neutral,
PublicKeyToken=31bf3856ad364e35
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center