Microsoft DirectX 8.1 (Visual Basic)

DirectInputDeviceInstance8.GetInstanceName

Retrieves the name of the device instance.

object.GetInstanceName() As String

Parts

object
Resolves to a DirectInputDeviceInstance8 object.

Return Values

Returns the friendly name for the instance—for example, "Joystick 1".

Error Codes

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

See Also

DirectInputDeviceInstance8.GetProductName