SerGetBuf
You can use theSerGetBuffunction to determine the number of characters available in the driver's input buffer.
FUNCTION SerGetBuf (refNum: Integer; VAR count: LongInt): OSErr;
refNum- The driver reference number of the serial input driver.
count- On exit, the number of characters in the input buffer.
DESCRIPTION
TheSerGetBuffunction returns, in thecountparameter, the number of characters present in the input buffer.ASSEMBLY-LANGUAGE INFORMATION
TheSerGetBuffunction is equivalent to a Device Manager status request with acsCodevalue of 2. Thecountvalue is returned incsParamas a long word (csParam[0]=count).RESULT CODES
noErr 0 No error
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help