Share via


XACTGetGlobalVariableIndex

XACTGetGlobalVariableIndex

Retrieves the corresponding index for a global variable name string.

Windows:  This function is not supported on the Windows platform. Use IXACTEngine::GetGlobalVariableIndex

  XACTVARIABLEINDEX 
  XACTGetGlobalVariableIndex(
  PCSTR szFriendlyName
);

Parameters

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

Return Values

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

Remarks

Note    This function has been deprecated. Titles should use IXACTEngine::GetGlobalVariableIndex.

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.