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


cnfResizeConference

Description

Redefines the number of members allocated for a conference.

Prototype

DWORD cnfResizeConference ( CNFRESOURCEHD cnfresourcehd,
DWORD confid,
DWORD mode,
unsigned number)

cnfresourcehd Handle returned by cnfOpenResource.

confid Conference identifier returned by cnfCreateConference.

mode Specifies the resizing mode to be used.

See the Details section for a description of these fields.

number Number associated with the given resizing mode.

Return Values

Details

This function allows the application to change the number of members allocated on the conferencing resource for a conference. The resizing operation to perform is specified by mode. This argument must be one of the following values (predefined in cnfdef.h):
Mode

Description

CNF_REDUCE_ALLOCATED

Reduces the number of allocated members by number.

CNF_INCREASE_ALLOCATED

Increases the number of allocated members by number.

CNF_RESIZE_ALLOCATED

Resizes the number of allocated members to number.

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

See Also

cnfCreateConference, cnfGetConferenceInfo

Example

   DWORD error;

   /* Add space for a new allocated member */
   error = cnfResizeConference (cnfresourcehd, confid,
                                CNF_INCREASE_ALLOCATED, 1); 
if (error != SUCCESS)
{ printf("Error when resizing conference : %d", error); return(error); }


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