IXACTSoundBank::GetCueIndex

Retrieves a sound cue index based on a string representing the cue's friendly name.

XACTINDEX GetCueIndex(
  PCSTR szFriendlyName
);

Parameters

szFriendlyName
[in] NULL-terminated string representing the friendly name for a cue in the sound bank.

Note    This string is case sensitive.

Return Values

Returns the cue index associated with szFriendlyName. If the cue index cannot be found, XACTINDEX_INVALID is returned.

Requirements

Header: Declared in Xact.h.

See Also

IXACTSoundBank