Platform SDK: DirectX |
The IDirectMusicSegment::GetParam method retrieves data from a track inside this segment.
HRESULT GetParam( REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, MUSIC_TIME* pmtNext, void* pParam );
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_GET_UNSUPPORTED |
DMUS_E_TRACK_NOT_FOUND |
E_POINTER |
The data can become invalid before the time returned in *pmtNext if another control segment is cued. For more information on control segments, see Segments.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dmusici.h.
IDirectMusicPerformance::GetParam, IDirectMusicSegment::SetParam, IDirectMusicTrack::GetParam, Music Parameters