DirectX SDK |
The DirectInputDeviceInstance.GetProductName method retrieves the product name of the device.
object.GetProductName() As String
The method returns the friendly name for the product—for example, "Microsoft SideWinder".
If the method fails, an error is raised and Err.Number will be set.