Microsoft DirectX 8.0 (C++) |
The IDirectMusicScript8 interface represents a script that contains variables that can be set and retrieved by the application, and routines that can be called by the application.
Typically the interface is obtained by using IDirectMusicLoader8::GetObject to load a script file. The application then calls IDirectMusicScript8::Init to associate the script with the DirectMusicPerformance object that performs the actual playback.
The methods of the IDirectMusicScript8 interface can be grouped as follows:
Initialization | Init |
Calling routines | CallRoutine |
Enumeration | EnumRoutine |
EnumVariable | |
Getting variables | GetVariableObject |
GetVariableNumber | |
GetVariableVariant | |
Setting variables | SetVariableNumber |
SetVariableObject | |
SetVariableVariant |
All COM interfaces inherit the IUnknown interface methods. This interface supports the following three methods:
IUnknown | AddRef |
QueryInterface | |
Release |
Header: Declared in dmusici.h.