MgslCancelWaitEvent


Prototype  
ULONG MgslCancelWaitEvent( HANDLE hDevice );
Parameters  
hDevice
Handle to open port
Return Value  
ERROR_SUCCESS (0)
Success
ERROR_INVALID_HANDLE
hDevice is invalid

Cancel a pending MgslWaitEvent call. The API set the returned events to zero and signals the event object. Monitor the event object until signaled before calling MgslWaitEvent again.

See also: Controlling and Monitoring Serial Signals , Asynchronous API Notification


Previous Contents Next