(Page 7 of 14 in this chapter) Version
mspDisableChannel
Description
- Stops the specified MSPP channel from processing data.
Prototype
- DWORD mspDisableChannel (MSPHD chnhd)
- chnhd MSPP channel handle.
Return Values
Events
Details
- When called, mspDisableChannel discontinues the flow of all data that is sent through the specified MSPP channel.
See Also
- mspCreateChannel, mspDestroyChannel, mspEnableChannel
Example
ret = mspDisableChannel(hChan);
if (ret != SUCCESS)
return FAILURE;
// Wait for event
ctaWaitEvent( hCta, &Event, CTA_WAIT_FOREVER );
// Check the reason code
if ( Event.id != MSPEVN_DISABLE_CHANNEL_DONE ||
Event.value != CTA_REASON_FINISHED )
return FAILURE;
(Page 7 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.