DirectMusicPerformance.GetResolvedTime
The DirectMusicPerformance.GetResolvedTime method adjusts a given time to a given boundary.
object.GetResolvedTime(ctTime As Long, _
flags As Long) As Long
Parameters
- object
- Object expression that resolves to a DirectMusicPerformance object.
- ctTime
- Time to resolve, in clock time units. If this is less than the current time, the current time is used.
- flags
- One or more of the following CONST_DMUS_SEGF_FLAGS describing the resolution desired:
- DMUS_SEGF_AFTERPREPARETIME
- Resolve to a time after the prepare time.
- DMUS_SEGF_GRID
- Resolve to a time on a grid boundary.
- DMUS_SEGF_BEAT
- Resolve to a time on a beat boundary.
- DMUS_SEGF_MEASURE
- Resolve to a time on a measure boundary.
Return Values
If the method succeeds, it returns the resolved time.
Error Codes
If the method fails, it raises an error, and Err.Number is set.