![]() |
![]() |
![]() |
ObjectDataFormat.DeviceType Property |
Language: |
Device type that describes the object. It is a combination of the following flags describing the object type (axis, button, and so forth) and containing the object-instance number in the middle 16 bits. When requesting a data format, the instance portion must be set to DIDFT_ANYINSTANCE to indicate that any instance is permissible, or to DidftMakeinstance(n) to restrict the request to instance n. See the examples under Remarks.
Visual Basic Public Property DeviceType As Integer C# public int DeviceType { get; set; } C++ public:
property int DeviceType {
int get();
void set(int value);
}JScript public function get DeviceType() : int
public function set DeviceType(int);
This property is read/write.
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