Platform SDK: DirectX

DirectInputEffect.GetEffectGuid

The DirectInputEffect.GetEffectGuid method retrieves the GUID or GUID alias for the effect represented by the DirectInputEffect object.

object.GetEffectGuid() As String

Parameters

object
Object expression that resolves to a DirectInputEffect object.

Return Values

The method returns the GUID or alias that was passed to DirectInputDevice.CreateEffect—for example, "GUID_ConstantForce".

Error Codes

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

See Also

Using GUIDs