IDirectMusicTrack8::SetParamEx
Sets data on a track, in either clock or music time.
HRESULT SetParamEx(
REFGUID rguidType,
REFERENCE_TIME rtTime,
void* pParam,
void * pStateData,
DWORD dwFlags
);
Parameters
- rguidType
- Reference to (C++) or address of (C) the identifier of the type of data to set. See Standard Track Parameters.
- rtTime
- Time at which to set the data. Unless DMUS_TRACK_PARAMF_CLOCK is set in dwFlags, this is in music time.
- pParam
- Address of a structure that contains the data, or NULL if no data is required. The structure must be of the appropriate kind and size for the data type identified by rguidType.
- pStateData
- Pointer to a buffer that contains state data for the track.
- dwFlags
- Can be zero or the following flag.
- DMUS_TRACK_PARAMF_CLOCK
- The value in rtTime is in clock time.
Return Values
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the following error values.
Header: Declared in dmplugin.h.
See Also
IDirectMusicTrack8::GetParamEx, IDirectMusicTrack8::SetParam