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


cnfGetMemberList

Description

Returns the list of members currently attending a given conference.

Prototype

DWORD cnfGetMemberList ( CNFRESOURCEHD cnfresourcehd,
DWORD confid,
unsigned maxmemberids,
DWORD *memberidlist,
unsigned *nummemberids)

cnfresourcehd Handle returned by cnfOpenResource.

confid Conference identifier returned by cnfCreateConference.

maxmemberids Maximum number of entries in memberidlist array.

memberidlist Pointer to an array of DWORD to receive the list of member identifiers. If NULL, this function returns the number of members attending the conference in nummemberids.

nummemberids Returned number of member identifiers.

Return Values

Details

This function returns the actual list of members attending a given conference. To determine the current number of members without identifiers, set maxmemberids to 0 and memberidlist to NULL.

For more information, refer to Section 4.5, Creating Conferences.

See Also

cnfGetMemberInfo, cnfJoinConference

Example

extern CNFRESOURCEHD cnfresourcehd;

unsigned getMemberList(DWORD confid, DWORD *memberidlist,
unsigned maxmemberids)
{ DWORD error; unsigned nummemberids = 0; error = cnfGetMemberList(cnfresourcehd, confid, maxmemberids,
memberidlist, &nummemberids); if (error != SUCCESS) { printf("Error when retrieving member list :%d", error); } return (nummemberids); }


Table of Contents Index NMS Glossary Previous Page Next Page (Page 12 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.