Microsoft DirectX 8.0 (C++)

IDirectMusicSegment8::SetDefaultResolution

Sets the default resolution for synchronization.

HRESULT SetDefaultResolution(
  DWORD dwResolution
);

Parameters

dwResolution
Desired default resolution. This value can be 0 or one of the following members of the DMUS_SEGF_FLAGS enumeration:

DMUS_SEGF_MEASURE
DMUS_SEGF_BEAT
DMUS_SEGF_GRID

Return Values

The method returns S_OK.

Remarks

This method is used primarily by secondary segments (motifs) to define whether they are synchronized to the measure, beat, or grid resolutions.

Requirements

  Header: Declared in dmusici.h.

See Also

IDirectMusicSegment8::GetDefaultResolution, Segment Timing