--- "[EMAIL PROTECTED]" wrote:
> My code is :
> err =SrmGetStatus(pSerPort->m_PortId,0,&LineError);
> and after I would like to know the value of &LineError.

The third parameter to SrmGetStatus is a pointer to the address where
the number of line errors for the port is returned.  So, something like
this should work:

// portId is the ID returned from SrmOpen
UInt32 statusField;
UInt16 nLineErrs;
Err err = SrmGetStatus(portId, &statusField, &nLineErrs);

Then look at nLineErrs to see how many line errors there were.


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to