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


cnfGetMemberAttributeList

Description

Returns the current value of several member attributes in a single function invocation.

Prototype

DWORD cnfGetMemberAttributeList (
CNFRESOURCEHD cnfresourcehd,
DWORD memberid,
DWORD *attributes,
INT32 *values,
unsigned count)

cnfresourcehd Handle returned by cnfOpenResource.

memberid Member identifier returned by cnfJoinConference or cnfGetMemberList.

attributes Pointer on the array of attributes to be retrieved.

values Pointer on the returned attribute value array.

count Number of entries in attributes and values array.

Return Values

Details

To obtain the current values of several attributes, this function can be used to pass an array of attributes instead of calling cnfGetMemberAttribute several times to obtain each attribute value separately.

See cnfGetMemberAttribute and Section 4.8 for further details about member attributes.

See Also

cnfGetMemberAttribute

Example

extern CNFRESOURCEHD cnfresourcehd;
typedef struct { INT32 enable; INT32 gain; INT32 predelay; } EC_CONTEXT;
DWORD getMemberECData(DWORD memberid, EC_CONTEXT *ec_context)
{
DWORD attributeList[3] = { MEMBER_ATTR_EC_ENABLE, MEMBER_ATTR_EC_GAIN, MEMBER_ATTR_EC_PREDELAY, }; INT32 values[3]; DWORD error; error = cnfGetMemberAttributeList( cnfresourcehd, memberid, attributeList, values, 3);
ec_context->enable = values[0]; ec_context->gain = values[1]; ec_context->predelay = values[2]; return(error); }


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