Leaked source code of windows server 2003
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.

74 lines
3.7 KiB

  1. #include <windows.h>
  2. #include "rc_id.h"
  3. REVISION DIALOG 10, 31, 152, 42
  4. CAPTION "Revision Dialog"
  5. FONT 8, "MS Shell Dlg"
  6. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  7. BEGIN
  8. CONTROL "$Revision: 2 $", 100, "static", SS_LEFT | WS_CHILD, 6, 6, 150, 8
  9. CONTROL "$Date: 2/05/99 3:19p $", 101, "static", SS_LEFT | WS_CHILD, 6, 19, 150, 8
  10. END
  11. STDCOM DIALOG 86, 29, 145, 232
  12. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
  13. CAPTION "Standard Com"
  14. FONT 8, "MS Shell Dlg"
  15. BEGIN
  16. GROUPBOX "Software handshaking", -1, 6, 6, 132, 80
  17. CONTROL "&Use Xon/Xoff for receiving", ID_CB_XRECVING, "Button",
  18. BS_AUTOCHECKBOX | WS_TABSTOP, 14, 17, 103, 13
  19. CONTROL "U&se Xon/Xoff for sending", ID_CB_XSENDING, "Button",
  20. BS_AUTOCHECKBOX | WS_TABSTOP, 14, 30, 98, 13
  21. CONTROL "", -1, "Static", SS_BLACKRECT, 30, 46, 76, 1
  22. LTEXT "&Xon:", -1, 35, 53, 19, 11, NOT WS_GROUP
  23. COMBOBOX ID_CMB_XON, 57, 52, 38, 24, CBS_DROPDOWN | WS_TABSTOP
  24. LTEXT "Xo&ff:", -1, 35, 67, 21, 10, NOT WS_GROUP
  25. COMBOBOX ID_CMB_XOFF, 57, 68, 38, 24, CBS_DROPDOWN | WS_TABSTOP
  26. GROUPBOX "Hardware handshaking", -1, 6, 88, 132, 66
  27. LTEXT "Receiving:", -1, 16, 99, 36, 10
  28. CONTROL "&None", ID_RB_RX_NONE, "Button", BS_AUTORADIOBUTTON |
  29. WS_TABSTOP, 20, 109, 28, 12
  30. CONTROL "&RTS", ID_RB_RX_RTS, "Button", BS_AUTORADIOBUTTON |
  31. WS_TABSTOP, 57, 109, 28, 12
  32. CONTROL "D&TR", ID_RB_RX_DTR, "Button", BS_AUTORADIOBUTTON |
  33. WS_TABSTOP, 94, 109, 28, 12
  34. LTEXT "Sending:", -1, 17, 126, 37, 10
  35. CONTROL "N&one", ID_RB_TX_NONE, "Button", BS_AUTORADIOBUTTON |
  36. WS_TABSTOP, 20, 137, 28, 12
  37. CONTROL "&CTS", ID_RB_TX_CTS, "Button", BS_AUTORADIOBUTTON |
  38. WS_TABSTOP, 57, 137, 28, 12
  39. CONTROL "&DSR", ID_RB_TX_DSR, "Button", BS_AUTORADIOBUTTON |
  40. WS_TABSTOP, 94, 137, 28, 12
  41. LTEXT "&Break signal duration:", -1, 9, 157, 45, 16
  42. COMBOBOX ID_CMB_BREAK_DUR, 59, 161, 43, 45, CBS_DROPDOWN |
  43. WS_VSCROLL | WS_TABSTOP
  44. LTEXT "msec.", -1, 107, 163, 23, 9, NOT WS_GROUP
  45. GROUPBOX "Errors", -1, 6, 175, 132, 34
  46. LTEXT "Parity:", -1, 16, 186, 24, 8
  47. LTEXT "0", ID_TEXT_PARITY, 51, 187, 18, 8, NOT WS_GROUP
  48. LTEXT "Framing:", -1, 16, 196, 32, 8, NOT WS_GROUP
  49. LTEXT "0", ID_TEXT_FRAMING, 51, 197, 18, 8, NOT WS_GROUP
  50. LTEXT "Overrun:", -1, 81, 186, 31, 8, NOT WS_GROUP
  51. LTEXT "0", ID_TEXT_OVERRUN, 115, 186, 18, 8, NOT WS_GROUP
  52. LTEXT "Overflow:", -1, 81, 196, 34, 8, NOT WS_GROUP
  53. LTEXT "0", ID_TEXT_OVERFLOW, 115, 196, 18, 8, NOT WS_GROUP
  54. DEFPUSHBUTTON "OK", IDOK, 6, 213, 40, 14, WS_GROUP
  55. PUSHBUTTON "Cancel", IDCANCEL, 51, 213, 40, 14
  56. PUSHBUTTON "&Help", 8, 97, 213, 40, 14
  57. END
  58. STRINGTABLE
  59. BEGIN
  60. SID_DEVICE_NAME, "Standard Com Port"
  61. SID_ERR_NOMEM, "Not enough memory for Standard Com Port Driver"
  62. SID_ERR_NOPORT, "There is not a port named %s available"
  63. SID_ERR_NOOPEN, "Could not open port %s"
  64. SID_ERR_NOTIMER, "Standard Com Port driver could not create a timer"
  65. SID_ERR_WINDRIVER, "An error occurred in the Windows Com Driver"
  66. SID_ERR_BADSETTING, "The Windows Com Driver does not support one of the current communications settings"
  67. SID_ERR_BADBAUD, "The Windows Com Driver does not support the current baud rate"
  68. SID_ERR_BADCHARVAL, "Enter the ASCII value of a character in decimal or hex (i.e. 13 or 0Dh)"
  69. END