|Microsoft DirectX 9.0|
The SetParam method sets data on a track inside this segment.
HRESULT SetParam( REFGUID rguidType, DWORD dwGroupBits, DWORD dwIndex, MUSIC_TIME mtTime, void* pParam );
Reference to (C++) or address of (C) the type of data to set. See Standard Track Parameters.
Group that the desired track is in. Use 0xFFFFFFFF for all groups. For more information, see Identifying the Track.
Index of the track in the group identified by dwGroupBits in which to set the data, or DMUS_SEG_ALLTRACKS to set the parameter on all tracks in the group that contain the parameter.
Time at which to set the data.
Address of a structure containing the data, or NULL if no data is required for this parameter. The structure must be of the appropriate kind and size for the data type identified by rguidType.
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the error values shown in the following table.
Header: Declared in dmusici.h.