Microsoft DirectX 8.1 (C++)

IDirectMusicSegment8::SetDefaultResolution

The SetDefaultResolution method sets the default resolution for synchronization.

Syntax

HRESULT SetDefaultResolution(
  DWORD dwResolution
);

Parameters

dwResolution

Desired default resolution. This value can be 0 or one of the members of the DMUS_SEGF_FLAGS enumeration shown in the following table.

Value Description
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 to specify whether they are synchronized to the measure, beat, or grid resolution by default.

Requirements

  Header: Declared in dmusici.h.

See Also