Microsoft DirectX 9.0 SDK Update (October 2004)

DataFormat Structure

Language:

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

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.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