Microsoft DirectX 8.0 (C++) |
Sets the configuration settings of a track.
HRESULT SetTrackConfig( REFGUID rguidTrackClassID, DWORD dwGroupBits, DWORD dwIndex, DWORD dwFlagsOn, DWORD dwFlagsOff );
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the following error values:
DMUS_E_TRACK_NOT_FOUND |
E_INVALIDARG |
Any change in configuration takes effect after prepare time. If you want the change to take effect immediately, call IDirectMusicPerformance8::Invalidate.
Header: Declared in dmusici.h.
IDirectMusicSegment8::SetTrackConfig, Self-Controlling Segments, Track Configuration