IDirectMusicPerformance::RemovePort

This method removes a port from the performance. Any PChannels that map to this port are invalidated, and messages stamped with them do not play.

HRESULT RemovePort(
  IDirectMusicPort* pPort
);

Parameters

  • pPort
    Port to remove.

Return Values

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

Requirements

OS Versions: Windows CE .NET 4.0 and Windows CE .NET 4.1.
Header: Dmusici.h.
Link Library: Dmusic.lib.

See Also

IDirectMusicPerformance::AddPort

 Last updated on Monday, April 12, 2004

© 1992-2002 Microsoft Corporation. All rights reserved.