IDirectMusicSegment8::GetTrackGroup

DirectMusic

Microsoft DirectX 9.0 SDK Update (Summer 2004)

IDirectMusicSegment8::GetTrackGroup

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

Syntax

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 the DWORD 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 error values shown in the following table.

Return code
DMUS_E_NOT_FOUND
E_INVALIDARG

Requirements

  Header: Declared in dmusici.h.

See Also


© 2004 Microsoft Corporation. All rights reserved.