Download WriteNow! User`s Manual
Transcript
WriteNow! User's Manual WN_CloseCommPort() Prototype ASCII version: WN_COMM_ERR WINAPI WN_CloseCommPortA (WN_COMM_HANDLE handle); Unicode version: WN_COMM_ERR WINAPI WN_CloseCommPortW (WN_COMM_HANDLE handle); Description Closes the communication channel with the instrument. Return Value 0 The function call was successful. !=0 The function call was unsuccessful. Call the WN_GetLastErrorMessage() function to get error information. Parameters handle Communication handle returned by the WN_OpenCommPort() function. 36