Microsoft DirectX 8.0 (C++) |
Removes a port from the performance. Any performance channels that map to this port are invalidated, and messages stamped with them do not play.
HRESULT RemovePort( IDirectMusicPort* pPort );
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the following error values:
E_INVALIDARG |
E_POINTER |
A port added by passing NULL to IDirectMusicPerformance8::AddPort cannot be removed by passing NULL to RemovePort.
This method should not be called by applications that use audiopaths.
Header: Declared in dmusici.h.