Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - closecomm() closes the communication device and frees memory http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CloseComm()            Closes the communication device and frees memory
--------------------------------------------------------------------------------

   Syntax:              CloseComm( <nDeviceId> )  -->  <lSuccess>

                        The CloseComm function closes the specified
                        communications device and frees any memory allocated
                        for the device's transmission and receiving queues.
                        All characters in the output queue are sent before
                        the communications device is closed.

   Parameters:

   <nDeviceId>          Specifies the device to be closed. The OpenComm
                        function returns this value.

   Returns:

   <lSuccess>           A logical value indicating if the operation was
                        successful.

   Sample:              See SAMPLES\\TestComm.prg


   Source code:         SOURCE\\WINAPI\\Comm.c

   See also:            OpenComm() WriteComm() ReadComm() BuildCommDcb()
                        SetCommStat() FlushComm() GetCommError()



Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson