IXACTSoundBank::GetCueIndex
IXACTSoundBank::GetCueIndex
Retrieves a sound cue index based on a string that represents the friendly name of the cue.
[Content-driven]
XACTINDEX GetCueIndex( PCSTR szFriendlyName );
Parameters
- szFriendlyName
[in] NULL-terminated string that represents the friendly name of a cue in the sound bank.
Return Values
Returns the cue index that is associated with szFriendlyName. If the cue index is not found, XACTINDEX_INVALID is returned.
Requirements
Header: Declared in Xact.h.
Library: Use Xact.lib.