Platform SDK: DirectX

IDirectMusicSegment::GetTrackGroup

The IDirectMusicSegment::GetTrackGroup method retrieves the group bits set on a track inside the segment.

HRESULT GetTrackGroup(
  IDirectMusicTrack* pTrack, 
  DWORD* pdwGroupBits
);

Parameters

pTrack
Track for which to find the group bits.
pdwGroupBits
Address of a variable to receive the groups. Each bit in *pdwGroupBits corresponds to a track group.

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:

E_FAIL
E_INVALIDARG

Requirements

  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.

See Also

IDirectMusicSegment::InsertTrack, Identifying the Track