Microsoft DirectX 8.1 (Visual Basic)

DirectMusicPerformance8.Reset

The Reset method resets the port.

object.Reset(resetflags As Long)

Parts

object

Resolves to a DirectMusicPerformance8 object.

resetflags

Flags. If this value is 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.