|Microsoft DirectX 9.0|
The Activate method activates or deactivates the audiopath.
HRESULT Activate( BOOL fActivate );
Boolean that specifies whether to activate (TRUE) or deactivate (FALSE) the audiopath.
If the method succeeds, the return value is S_OK, or S_FALSE if the audiopath is already in the requested state.
The behavior of this method is different from that of IDirectMusicPort8::Activate. When a port is deactivated, it no longer produces sound, but the performance can continue playing segments. When an audiopath is deactivated, all playback stops and any attempt to play a segment will fail.
Header: Declared in dmusici.h.