IDirectMusicTrack8::Compose
Recomposes the track based on data from a segment. DirectMusic implements this method on the signpost track to compose a chord track.
HRESULT Compose(
IUnknown* pContext,
DWORD dwTrackGroup,
IDirectMusicTrack** ppResultTrack
);
Parameters
- pContext
- IUnknown interface pointer of the object to use in the composition. This is usually the segment that owns this track.
- dwTrackGroup
- DWORD value that specifies group bits for the track. For more information on group bits, see Identifying the Track.
- ppResultTrack
- Address of a variable that receives the IDirectMusicTrack interface of the composed track. Use QueryInterface to obtain IDirectMusicTrack8.
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
IDirectMusicSegment8::Compose