标签:
CSerialPort is more robust.This function is called as the completion routine for any asynchronous calls to WriteEx or ReadEx. In your derived class from CSerialPort, you can override this function to perform your own specific code in reaction to an asynchronous call completion. Don‘t forget to call the parent version, namely this functionCSerialPort::OnCompletion as it handles the cleanup of the memory allocated for the lpOverlappedparameter.
标签:
原文地址:http://www.cnblogs.com/zjoch/p/4246793.html