Microsoft DirectX 8.1 (Visual Basic)

DirectInputDeviceObjectInstance.GetName

Retrieves the friendly name of the device object.

object.GetName() As String

Parts

object
Resolves to a DirectInputDeviceObjectInstance object.

Return Values

Returns the name of the object—for example, "X-Axis" or "Right Shift."

Error Codes

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