Notes on using this Function
- An application program can issue this function for multiple host
sessions. The Query Communication Event (81)
function can be used to determine the session communication status.
- If the application chooses the asynchronous option, it can use
the Windows SDK call WaitForSingleObject to
wait until the sessions communication status has changed.
- The event object is initially in a non-signaled state. It is signaled
each time an event occurs. To receive notification for multiple events
the application must put the event object into the non-signaled state
each time it is signaled, by using the Windows SDK call ResetEvent,
or by using function 81 Query Communications Event.
- Multiple calls to this function with the same options from the
same application will be ignored.
- This is not exclusive to one application. Several applications
can request this function for the same Session ID.