Comtrol API (6508) for the MS-DOS Bedienungsanleitung Seite 22

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 39
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 38 39

Kommentare zu diesen Handbüchern

Keine Kommentare