Share via


IXACTCue::GetVariableIndex

IXACTCue::GetVariableIndex

Retrieves the corresponding index for a variable name string.

[Content-driven]

  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.

Library: Use Xact.lib.

See Also

IXACTCue