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


mspDestroyChannel

Description

Destroys a specified MSPP media channel.

Prototype

DWORD mspDestroyChannel (MSPHD chnhd)

chnhd MSPP channel handle.

Return Values

Events

Details

When called, mspDestroyChannel disconnects and destroys the specified MSPP channel.

See Also

mspCreateChannel

Example


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


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