Microsoft DirectX 9.0

IDirectMusicSegment8::GetDefaultResolution

The GetDefaultResolution method retrieves the default resolution of the segment. This is the value used to determine how times such as the segment start time are adjusted for synchronization with the rhythm.

Syntax

HRESULT GetDefaultResolution(
  DWORD* pdwResolution
);

Parameters

pdwResolution

Address of a variable that receives the 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 Resolve times to next measure.
DMUS_SEGF_BEAT Resolve times to next beat.
DMUS_SEGF_GRID Resolve times to next grid.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return E_POINTER.

Requirements

  Header: Declared in dmusici.h.

See Also