(Page 6 of 14 in this chapter) Version
mspDestroyEndpoint
Description
- Destroys a specified MSPP endpoint.
Prototype
- DWORD mspDestroyEndpoint (MSPHD ephd)
- ephd MSPP endpoint handle.
Return Values
Events
Details
- When called, mspDestroyEndpoint removes a specified MSPP endpoint, as well as disables and disconnects the associated connection, if applicable.
See Also
- mspCreateEndpoint
Example
ret = mspDestroyEndpoint(hEp);
if (ret != SUCCESS)
return FAILURE;
// Wait for event
ctaWaitEvent( hCta, &Event, CTA_WAIT_FOREVER );
// Check the reason code
if ( Event.id != MSPEVN_DESTROY_ENDPOINT_DONE ||
Event.value != CTA_REASON_FINISHED )
return FAILURE;
(Page 6 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.