rlingxing2009-08-26 17:41:40
#include
#include
#include
typedef struct _tagUART
{
char type[24];
int baudrate;
int databits;
int stopbits;
char parity[6];
char flowcontrol[6];
}YDFUART;
int GetUARTInfo(YDFUART **_YDFUARTInfo, int _YDFUARTCount)
{
//YDFUART *pYDFUart = NULL;
//pYDFUart = new YDFUART[_YDFUARTCount];
//*_YDFUARTInfo = (YDFUART *)malloc( _YDFUARTCoun