(Page 11 of 14 in this chapter) Version
mspEnableEndpoint
Description
- Starts the flow of data processing through the specified MSPP endpoint.
Prototype
- DWORD mspEnableEndpoint (MSPHD ephd)
- ephd MSPP endpoint handle.
Return Values
Events
Details
- Created MSPP endpoints are enabled, by default. When invoking mspEnableEndpoint, specify the endpoint handle (ephd) of the connected endpoint.
- The mspEnableEndpoint function can also be used to re-establish the data flow through a channel that had previously been disabled.
See Also
- mspCreateEndpoint, mspDisableEndpoint
Example
ret = mspEnableEndPoint( hEp1);
if (ret != SUCCESS)
return FAILURE;
// Wait for event
ctaWaitEvent( hCta, &Event, CTA_WAIT_FOREVER );
// Check the reason code
if ( Event.id != MSPEVN_ENABLE_ENDPOINT_DONE ||
Event.value != CTA_REASON_FINISHED )
return FAILURE;
(Page 11 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.