Platform SDK: DirectX |
The DirectInputDeviceInstance.GetInstanceName method retrieves the name of the device instance.
object.GetInstanceName() As String
The method returns the friendly name for the instance—for example, "Joystick 1."
If the method fails, an error is raised and Err.Number will be set.