Platform SDK: DirectX |
The DirectInputDeviceInstance.GetGuidInstance method returns the unique identifier for the instance of the device.
object.GetGuidInstance() As String
The method returns the GUID for the device instance, in string form.
If the method fails, an error is raised and Err.Number will be set.
An application can save the instance GUID into a configuration file and use it at a later time. Instance GUIDs are specific to a particular computer. An instance GUID obtained from one computer is unrelated to instance GUIDs on another.