IXACTCue::GetVariableIndex

Retrieves the corresponding index for a variable name string.

XACTVARIABLEINDEX GetVariableIndex(
  PCSTR szFriendlyName
);

Parameters

szFriendlyName
[in] String containing the "friendly name" of the variable, as specified in the XACT.

Return Values

The index of the variable if it exists, or XACTVARIABLEINDEX_INVALID otherwise.

Requirements

Header: Declared in Xact.h.