Microsoft DirectX 8.0 (C++)

IDirectMusicSegment8::GetTrackGroup

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 that receives 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:

DMUS_E_NOT_FOUND
E_INVALIDARG

Requirements

  Header: Declared in dmusici.h.

See Also

IDirectMusicSegment8::InsertTrack, Identifying the Track