DirectX SDK |
The IDirectMusicTrack::GetParam method retrieves data from a track.
HRESULT GetParam( REFGUID rguidType, 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_NOT_FOUND |
DMUS_E_NOT_INIT |
DMUS_E_TYPE_DISABLED |
DMUS_E_GET_UNSUPPORTED |
E_POINTER |
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.
IDirectMusicTrack::SetParam, IDirectMusicTrack::IsParamSupported, IDirectMusicPerformance::GetParam, IDirectMusicSegment::GetParam, Music Parameters