Share via


INmConference::Leave

The Leave method removes the local computer from the active conference.

HRESULT Leave(void);

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
    The local computer is no longer a member of the active conference.
  • E_FAIL
    The conference object is not active, the operation failed, or internal resources are not available.

Remarks

If other computers are connected to the conference through this computer, they are disconnected when this method is called. If the local user is the top provider (member in charge of the conference), the conference ends.

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.

See Also

Further Reading