IXACTCue::GetVariable

Retrieves the value of a variable by its index.

HRESULT GetVariable(
  XACTVARIABLEINDEX nIndex,
  XACTVARIABLEVALUE *nValue
);

Parameters

nIndex
[in] Assigned index of the variable to retrieve.
nValue
[out] Pointer to where to store the value currently held by the variable.

Return Values

Returns S_OK if successful, an error code otherwise.

Requirements

Header: Declared in Xact.h.