Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
1/6/2010
Call the CloseHandle function to close a serial port when an application is done using it.
CloseHandle has one parameter, which is the handle returned by the CreateFile function call that opened the port.
There is a two-second delay after CloseHandle is called before the port is closed and resource are freed. This delay allows pending operations to complete.