Notes on using this Function

  1. 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.
  2. If the application chooses the asynchronous option, it can use the Windows SDK call WaitForSingleObject to wait until the sessions communication status has changed.
  3. 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.
  4. Multiple calls to this function with the same options from the same application will be ignored.
  5. This is not exclusive to one application. Several applications can request this function for the same Session ID.