Stores a new value to a variable, referenced by its index.
HRESULT SetVariable( XACTVARIABLEINDEX nIndex, XACTVARIABLEVALUE nValue );
Returns S_OK if successful, an error code otherwise.
Header: Declared in Xact.h.