13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Communication functionsCommunication functions carry out communications through thesystem's serial and parallel I/O ports. The following list brieflydescribes each communication function:FunctionBuildCommDCBClearCommBreakCloseCommEscapeCommFunctionFlushCommGetCommErrorGetCommEventMaskGetCommStateOpenCommReadCommSetCommBreakSetComm EventMaskSetCommStateTransmitCommCharUngetCommCharWriteCommDescriptionFills a device control block with controlcodes.Clears the communication break state froma communication device.Closes a communication device aftertransmitting the current buffer.Directs a device to carry out an extendedfunction.Flushes characters from a communicationdevice.Fills a buffer with the communicationstatus.Retrieves, then clears, an event mask.Fills a buffer with a device control block.Opens a communication device.Reads the bytes from a communicationdevice into a buffer.Sets a break state on the communicationdevice.Retrieves and then sets an event mask onthe communication device.Sets a communication device to the statespecified by the device control block.Places a character at the head of thetransmit queue.Specifies which character will be the nextcharacter to be read.Writes the bytes from a buffer to acommunication device.Sound functionsSound functions create sound and music for the system's soundgenerator. The following list briefly describes each soundfunction:FunctionCloseSoundDescriptionCloses the play device after flushing thevoice queues and freeing the buffers.142Software development kit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!