Share via


IXACTEngine::GetGlobalVariableIndex

IXACTEngine::GetGlobalVariableIndex

Retrieves the corresponding index for a global variable name string.

[Content-driven]

  XACTVARIABLEINDEX 
  GetGlobalVariableIndex(
  PCSTR szFriendlyName
);

Parameters

  • szFriendlyName
    [in] String that contains the friendly name of the global variable, as specified in the XACT engine.

Return Values

The index of the global variable if it exists. Otherwise, XACTVARIABLEINDEX_INVALID.

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

IXACTEngine