Table of Contents Index NMS Glossary Previous Page Next Page (Page 8 of 14 in this chapter) Version


mspDisableEndpoint

Description

Stops the flow of data processed through the specified MSPP endpoint.

Prototype

DWORD mspDisableEndpoint (MSPHD ephd)

ephd MSPP endpoint handle.

Return Values

Events

Details

When called, mspDisableEndpoint halts the data flow from a specified MSPP endpoint. Only one call to mspDisableEndpoint is needed to interrupt the flow of data to multiple channels that are connected to a single endpoint.

Note: When interrupting the broadcast for a single participant, the application should disable the channel for that specific participant.

See Also

mspCreateEndpoint, mspDestroyEndpoint, mspEnableEndpoint

Example


ret = mspDisableEndpoint(hEp);
if (ret != SUCCESS)
return FAILURE;
// Wait for event
ctaWaitEvent( hCta, &Event, CTA_WAIT_FOREVER );
// Check the reason code
if ( Event.id != MSPEVN_DISABLE_ENDPOINT_DONE ||
Event.value != CTA_REASON_FINISHED )
return FAILURE;


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