Comtrol Multiport Modems Windows 98 Instrukcja Użytkownika Strona 51

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 50
51
Opening Ports Higher Than COM10
Opening Ports Higher Than COM10
To open up COM ports higher than COM10 a special named format is used with
CreateFile(): \\.\COM10 (when using the C language you need to double up the
backslashes: \\\\.\\COM10. This works only for 32-bit programs running under
Windows NT, 98/SE, or ME. 16-bit applications running under Windows NT, 98/
SE or ME also have this restriction.
COMMTIMEOUTS: GetCommTimeouts() and SetCommTimeouts() Structure
These features are implemented in a standard part of the operating system and
not in the port-driver, although it does rely on callback facilities built into the
driver. These timeouts should be used to avoid getting stuck forever in a read or
write operation when using the standard (non-overlapped) mode of operation.
Przeglądanie stron 50
1 2 ... 46 47 48 49 50 51 52 53 54 55

Komentarze do niniejszej Instrukcji

Brak uwag