IXACTCue::SetVariable

Stores a new value to a variable, referenced by its index.

HRESULT SetVariable(
  XACTVARIABLEINDEX nIndex,
  XACTVARIABLEVALUE nValue
);

Parameters

nIndex
[in] Assigned index of the variable in which to store nValue.
nValue
[in] Value to store in the variable.

Return Values

Returns S_OK if successful, an error code otherwise.

Requirements

Header: Declared in Xact.h.