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