Table of Contents Index NMS Glossary Previous Page Next Page (Page 16 of 23 in this chapter) Version


cnfLeaveConference

Description

Removes a member from a conference and destroys the member identifier.

Prototype

DWORD cnfLeaveConference ( CNFRESOURCEHD cnfresourcehd,
DWORD memberid)

cnfresourcehd Handle returned by cnfOpenResource.

memberid Member identifier returned by cnfJoinConference or cnfGetMemberList.

Return Values

Details

This function removes the member specified by memberid from cnfresourcehd. If the remaining number of members in the conference is less than the allocated number, the "seat" resource freed by this member is available for that conference only. Otherwise, the corresponding resource is available for any conference on the resource. For more information on removing members, refer to Section 4.11.

See Also

cnfJoinConference

Example

extern CNFRESOURCEHD cnfresourcehd;

DWORD leaveConference(DWORD memberid)
{ DWORD error; unsigned numtalkerids = 0; error = cnfLeaveConference(cnfresourcehd, memberid); if (error != SUCCESS) { printf("Error when leaving the conference :%d", error); } return (error); }


Table of Contents Index NMS Glossary Previous Page Next Page (Page 16 of 23 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.