Microsoft DirectX 8.1 (Visual Basic)

DirectInputDeviceInstance8.GetProductName

Retrieves the product name of the device.

object.GetProductName() As String

Parts

object
Resolves to a DirectInputDeviceInstance8 object.

Return Values

Returns the friendly name for the product—for example, "Microsoft® SideWinder®".

Error Codes

If the method fails, an error is raised and Err.Number is set.

See Also

DirectInputDeviceInstance8.GetInstanceName