DirectMusicPerformance.Reset
The DirectMusicPerformance.Reset method resets the port.
object.Reset(resetflags As Long)
Parameters
- object
- Object expression that resolves to a DirectMusicPerformance object.
- resetflags
- Flags. By default (resetflags = 0), the method performs a GMReset. If this value is 1, the port is reset by being closed and reopened.
Error Codes
If the method fails, it raises an error, and Err.Number is set.