Comtrol API (6508) for the MS-DOS Manuel d'utilisateur Page 22

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 39
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 21
22 API Functions
aaChangeModemState
aaChangeModemState
Changes the state of modem output lines.
aaChangeModemState(Dev,
RTSState,DTRState)
int Dev Device number
int
RTSState State of RTS line: ON, OFF, or
NOCHANGE
int DTRState State of DTR line: ON, OFF, or
NOCHANGE
int: NO_ERR if successful
ERR_DEV if device out of range
Purpose
Call
Return
aaClose
Closes a device.
aaClose(Dev,ModemCtl)
int Dev Device number
unsigned char ModemCtl Modem control lines to turn
OFF, can be
COM_MDM_RTS or
COM_MDM_DTR. If the flag
is not set the state of the
modem line is not changed.
int:
NO_ERR if successful
ERR_DEV if device number out of range
ERR_MDMCTL if invalid modem control flag
ERR_NOTOPEN if device not open
This function waits for the devices transmit buffer to
drain before completing the close. The maximum wait
time defaults to
CLOSE_TBEDLY, but can be changed
with the aaSetCloseDelay() function.
This function disables and enables interrupts.
Function
Purpose
Call
Return
Comments
Warning
Vue de la page 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 38 39

Commentaires sur ces manuels

Pas de commentaire