Application Session Stopping (Windows CE 5.0)
To stop a previously established session, the application should queue an IOCTL_STREAM_STOP_SESSION, providing the session identifier, returned when the session was established as an argument. Regardless of whether the session identifier refers to a receive session or a transmit session, the connection to the remote plug will be removed, and any resources freed. Any buffers that are attached to a session when the session is stopped are automatically detached.
Send Feedback on this topic to the authors