Microsoft DirectX 8.1 (Visual Basic)

DirectInputEnumEffects.GetEffectGuid

Retrieves the GUID for the supported effect. This GUID can be passed to the DirectInputDevice8.CreateEffect method.

object.GetEffectGuid(i As Long) As String

Parts

object
Resolves to a DirectInputEnumEffects object.
i
Index (1-based) of the effect in the collection.

Return Values

Returns the GUID in string form. For standard effects, the return value is an alias such as "GUID_ConstantForce".

Error Codes

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

See Also

Using GUIDs