DirectX SDK |
The DirectInputEffect.GetEffectGuid method retrieves the GUID or GUID alias for the effect represented by the DirectInputEffect object.
object.GetEffectGuid() As String
The method returns the GUID or alias that was passed to DirectInputDevice.CreateEffect—for example, "GUID_ConstantForce".
If the method fails, an error is raised and Err.Number will be set.