INmChannel::SetActive
Use the SetActive method to set the audio or video channel to active or inactive.
Note Available only for versions prior to NetMeeting 3.
HRESULT SetActive(
BOOL fActive);
Parameters
- fActive
[in] Set to TRUE to activate the channel or FALSE to deactivate it.
Return Values
NetMeeting client applications can use the SUCCEEDED and FAILED macros in winerror.h to check return values.
Return values can include RPC layer errors or any of the following values.
- S_OK
Both Channel objects represent the same channel. - E_FAIL
Standard return for NetMeeting 3. - S_FALSE
The two channel objects do not represent the same channel.
Remarks
SetActive can only be used with the audio and video channels.
Applications must deactivate all current audio channels before activating a new audio channel.
Requirements
** Windows NT/2000:** Requires Windows NT 4.0 SP3 or later.
** Windows 95/98:** Requires Windows 95 or later. Available as a redistributable for Windows 95.
** Header:** Imsconf2.idl.