Share via


IXACTCue::GetVariable

IXACTCue::GetVariable

Retrieves the value of a variable by its index.

[Content-driven]

  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.

Library: Use Xact.lib.

See Also

IXACTCue