Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.8 KiB

  1. /*****************************************************************************/
  2. /* UBNETCI: definitions for Ungermann-Bass Command interpreter interface */
  3. /*****************************************************************************/
  4. /*****************************************************************************/
  5. /* Constant Definitions */
  6. /*****************************************************************************/
  7. #define INT_UBNETCI 0x6B
  8. #define UBC_CALL_WRITE 0x00 /* int 6B calls... */
  9. #define UBC_CALL_READ 0x01
  10. #define UBC_CALL_CONTROL 0x06
  11. #define UBC_CALL_STATUS 0x07
  12. #define UBC_CALL_READBREAK 0x08
  13. #define UBC_PORT_COM1 0x00
  14. #define UBC_PORT_COM2 0x01
  15. #define UBC_CNTRL_CMD_BREAK 0x02
  16. #define UBC_CNTRL_CMD_DISCON 0x04
  17. #define UBC_CNTRL_CMD_HOLD 0x06
  18. #define UBC_CNTRL_CMD_ENABLEXON 0x08 /* slc swat */
  19. #define UBC_CNTRL_CMD_DISABLEXON 0x10
  20. #define UBC_STAT_IDLE 0xFF
  21. #define UBC_STAT_CI 0x00
  22. #define UBC_STAT_NET 0x01
  23. /*****************************************************************************/
  24. /* Forward Procedure Definitions */
  25. /*****************************************************************************/
  26. VOID UBC_exitSerial();
  27. VOID UBC_resetSerial(recTrmParams *, BOOL); /* mbbx 2.01.141 */
  28. BOOL UBC_mdmConnect();
  29. VOID UBC_modemReset();
  30. VOID UBC_modemSendBreak(INT);
  31. INT NEAR UBC_ReadComm(LPSTR, INT);
  32. VOID UBC_modemBytes();
  33. INT NEAR UBC_WriteComm(LPSTR, INT);
  34. BOOL UBC_modemWrite(LPSTR, INT);
  35. /* WORD NEAR UBC_CallNetCI(BYTE, WORD, LPBYTE, WORD); tge gold 006 */
  36. WORD UBC_CallNetCI(BYTE, WORD, LPBYTE, WORD);
  37. WORD UBC_LOW_CallNetCI(WORD, WORD, WORD, WORD);