|Microsoft DirectX 9.0|
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.
HRESULT GetDefaultResolution( DWORD* 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.
|DMUS_SEGF_MEASURE||Resolve times to next measure.|
|DMUS_SEGF_BEAT||Resolve times to next beat.|
|DMUS_SEGF_GRID||Resolve times to next grid.|
If the method succeeds, the return value is S_OK.
If it fails, the method can return E_POINTER.
Header: Declared in dmusici.h.