Device.SendHardwareCommand Method

Language:

Sends a hardware-specific command to the force-feedback driver.

Definition

Visual Basic Public Function SendHardwareCommand( _
    ByVal command As Integer, _
    ByVal data() As Byte _
) As Byte()
C# public byte[] SendHardwareCommand(
    int command,
    byte[] data
);
C++ public:
array<unsigned char>^ SendHardwareCommand(
    int command,
    array<unsigned char>^ data
);
JScript public function SendHardwareCommand(
    command : int,
    data : byte[]
) : byte[];

Parameters

command System.Int32
data System.Byte[]

Return Value

System.Byte[]


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