Platform SDK: DirectX

DirectMusicPerformance.CloseDown

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()

Parameters

object
Object expression that resolves to a DirectMusicPerformance object.

Error Codes

If the method fails, it raises an error, and Err.Number is set.

Remarks

Failure to call CloseDown can cause memory leaks or application failures.

CloseDown releases any downloaded instruments that have not been unloaded.