DirectX SDK |
The DirectMusicPerformance.CloseDown method closes down the performance. An application that created the performance object and called DirectMusicPerformance.Init on it must call CloseDown before the performance object is released.
object.CloseDown()
If the method fails, it raises an error, and Err.Number is set.
Failure to call CloseDown can cause memory leaks or application failures.
CloseDown releases any downloaded instruments that have not been unloaded.