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.

245 lines
8.4 KiB

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include <tchar.h>
  4. #include "resource.h"
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "windows.h"
  11. /////////////////////////////////////////////////////////////////////////////
  12. #undef APSTUDIO_READONLY_SYMBOLS
  13. /////////////////////////////////////////////////////////////////////////////
  14. // English (U.S.) resources
  15. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  16. #ifdef _WIN32
  17. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  18. #pragma code_page(1252)
  19. #endif //_WIN32
  20. #ifndef _MAC
  21. /////////////////////////////////////////////////////////////////////////////
  22. //
  23. // Dialog
  24. //
  25. IDD_MAIN DIALOG DISCARDABLE 0, 0, 292, 298
  26. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  27. CAPTION "DirectPlay8 Network Simulator Control"
  28. CLASS WINDOWCLASS_MAIN
  29. FONT 8, "MS Shell Dlg"
  30. BEGIN
  31. GROUPBOX "Settings",IDX_SETTINGS,7,3,278,137
  32. COMBOBOX IDCB_SETTINGS,15,13,262,152,CBS_DROPDOWNLIST | CBS_SORT |
  33. WS_VSCROLL | WS_TABSTOP
  34. GROUPBOX "Send",IDX_SETTINGS_SEND,16,28,261,43
  35. LTEXT "Bandwidth (in bytes/sec):",IDS_SETTINGS_SEND_BANDWIDTH,
  36. 23,40,81,8
  37. EDITTEXT IDE_SETTINGS_SEND_BANDWIDTH,108,36,40,14,ES_AUTOHSCROLL |
  38. ES_NUMBER
  39. LTEXT "Drop percentage (0-100):",IDS_SETTINGS_SEND_DROP,23,55,
  40. 80,8
  41. EDITTEXT IDE_SETTINGS_SEND_DROP,108,52,40,14,ES_AUTOHSCROLL
  42. LTEXT "Min latency (in ms):",IDS_SETTINGS_SEND_MINLATENCY,163,
  43. 39,61,8
  44. EDITTEXT IDE_SETTINGS_SEND_MINLATENCY,230,36,40,14,ES_AUTOHSCROLL |
  45. ES_NUMBER
  46. LTEXT "Max latency (in ms):",IDS_SETTINGS_SEND_MAXLATENCY,163,
  47. 55,63,8
  48. EDITTEXT IDE_SETTINGS_SEND_MAXLATENCY,230,52,40,14,ES_AUTOHSCROLL |
  49. ES_NUMBER
  50. GROUPBOX "Receive",IDX_SETTINGS_RECV,16,75,262,43
  51. LTEXT "Bandwidth (in bytes/sec):",IDS_SETTINGS_RECV_BANDWIDTH,
  52. 23,88,81,8
  53. EDITTEXT IDE_SETTINGS_RECV_BANDWIDTH,108,83,40,14,ES_AUTOHSCROLL |
  54. ES_NUMBER
  55. LTEXT "Drop percentage (0-100):",IDS_SETTINGS_RECV_DROP,23,102,
  56. 80,8
  57. EDITTEXT IDE_SETTINGS_RECV_DROP,108,99,40,14,ES_AUTOHSCROLL
  58. LTEXT "Min latency (in ms):",IDS_SETTINGS_RECV_MINLATENCY,163,
  59. 87,61,8
  60. EDITTEXT IDE_SETTINGS_RECV_MINLATENCY,230,83,40,14,ES_AUTOHSCROLL |
  61. ES_NUMBER
  62. LTEXT "Max latency (in ms):",IDS_SETTINGS_RECV_MAXLATENCY,163,
  63. 102,63,8
  64. EDITTEXT IDE_SETTINGS_RECV_MAXLATENCY,230,99,40,14,ES_AUTOHSCROLL |
  65. ES_NUMBER
  66. PUSHBUTTON "Apply",IDB_APPLY,52,121,50,14,WS_DISABLED
  67. PUSHBUTTON "Revert",IDB_REVERT,121,121,50,14,WS_DISABLED
  68. PUSHBUTTON "Save As...",IDB_SAVEAS,189,121,50,14,WS_DISABLED
  69. GROUPBOX "Statistics",IDX_STATS,7,149,278,116
  70. GROUPBOX "Send",IDX_STATS_SEND,16,157,261,41
  71. LTEXT "Packets transmitted:",IDS_STATS_SEND_XMITPACKETS,24,167,
  72. 65,8
  73. LTEXT "",IDT_STATS_SEND_XMITPACKETS,91,167,41,8
  74. LTEXT "Bytes transmitted:",IDS_STATS_SEND_XMITBYTES,164,166,56,
  75. 8
  76. LTEXT "",IDT_STATS_SEND_XMITBYTES,223,166,41,8
  77. LTEXT "Packets dropped:",IDS_STATS_SEND_DROPPACKETS,24,175,57,
  78. 8
  79. LTEXT "",IDT_STATS_SEND_DROPPACKETS,91,175,41,8
  80. LTEXT "Bytes dropped:",IDS_STATS_SEND_DROPBYTES,164,175,48,8
  81. LTEXT "",IDT_STATS_SEND_DROPBYTES,223,175,41,8
  82. LTEXT "Total delay imposed (ms):",IDS_STATS_SEND_TOTALDELAY,66,
  83. 185,80,8
  84. LTEXT "",IDT_STATS_SEND_TOTALDELAY,149,185,41,8
  85. GROUPBOX "Receive",IDX_STATS_RECV,15,199,262,41
  86. LTEXT "Packets indicated:",IDS_STATS_RECV_XMITPACKETS,23,209,
  87. 60,8
  88. LTEXT "",IDT_STATS_RECV_XMITPACKETS,91,209,41,8
  89. LTEXT "Bytes indicated:",IDS_STATS_RECV_XMITBYTES,164,208,51,8
  90. LTEXT "",IDT_STATS_RECV_XMITBYTES,222,208,41,8
  91. LTEXT "Packets dropped:",IDS_STATS_RECV_DROPPACKETS,23,217,57,
  92. 8
  93. LTEXT "",IDT_STATS_RECV_DROPPACKETS,91,217,41,8
  94. LTEXT "Bytes dropped:",IDS_STATS_RECV_DROPBYTES,164,217,48,8
  95. LTEXT "",IDT_STATS_RECV_DROPBYTES,222,217,41,8
  96. LTEXT "Total delay imposed (ms):",IDS_STATS_RECV_TOTALDELAY,66,
  97. 227,80,8
  98. LTEXT "",IDT_STATS_RECV_TOTALDELAY,149,227,41,8
  99. CONTROL "Auto",IDCHK_AUTOREFRESH,"Button",BS_AUTOCHECKBOX |
  100. WS_TABSTOP,54,246,31,10
  101. PUSHBUTTON "Refresh",IDB_REFRESH,85,243,50,14
  102. PUSHBUTTON "Clear",IDB_CLEAR,158,243,50,14
  103. DEFPUSHBUTTON "OK",IDOK,116,275,61,19
  104. END
  105. IDD_NAMESETTINGS DIALOG DISCARDABLE 0, 0, 213, 55
  106. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  107. CAPTION "Name DP8 Network Simulator Settings"
  108. CLASS WINDOWCLASS_NAMESETTINGS
  109. FONT 8, "MS Shell Dlg"
  110. BEGIN
  111. LTEXT "Please name the new settings:",IDS_NAME,4,5,206,8
  112. EDITTEXT IDE_NAME,4,16,206,14,ES_AUTOHSCROLL
  113. PUSHBUTTON "OK",IDOK,47,36,50,14,WS_DISABLED
  114. PUSHBUTTON "Cancel",IDCANCEL,115,36,50,14
  115. END
  116. /////////////////////////////////////////////////////////////////////////////
  117. //
  118. // Icon
  119. //
  120. // Icon with lowest ID value placed first to ensure application icon
  121. // remains consistent on all systems.
  122. #define IDI_DIRECTX 1
  123. IDI_DIRECTX ICON DISCARDABLE "directx.ico"
  124. /////////////////////////////////////////////////////////////////////////////
  125. //
  126. // Version
  127. //
  128. #ifdef WIN95
  129. #include <windows.h>
  130. #include "verinfo.h"
  131. #define VERSIONNAME "dp8simui.exe\0"
  132. #ifdef DEBUG
  133. #define VERSIONDESCRIPTION "Microsoft DirectPlay8 Network Simulator Control Debug\0"
  134. #else
  135. #define VERSIONDESCRIPTION "Microsoft DirectPlay8 Network Simulator Control\0"
  136. #endif
  137. #define VERSIONTYPE VFT_APP
  138. #define VERSIONSUBTYPE VFT2_UNKNOWN
  139. #include "verinfo.ver"
  140. #else // WinNT
  141. #include <windows.h>
  142. #include <ntverp.h>
  143. #define VER_FILETYPE VFT_APP
  144. #define VER_FILESUBTYPE VFT2_UNKNOWN
  145. #define VER_FILEDESCRIPTION_STR "Microsoft DirectPlay8 Network Simulator Control"
  146. #define VER_INTERNALNAME_STR "dp8simui.exe"
  147. #include "common.ver"
  148. #endif
  149. #endif // !_MAC
  150. /////////////////////////////////////////////////////////////////////////////
  151. //
  152. // String Table
  153. //
  154. STRINGTABLE DISCARDABLE
  155. BEGIN
  156. IDS_ERROR_CAPTION_COULDNTCREATEDP8SIMCONTROL "Couldn't create DP8Sim Control"
  157. IDS_ERROR_TEXT_COULDNTCREATEDP8SIMCONTROL "Couldn't create DirectPlay8 Network Simulator Control object!\nPlease ensure that DP8SIM.DLL is located in the same directory as this application."
  158. IDS_ERROR_CAPTION_BUILTINSETTINGSWITHSAMENAME "Built-in settings with same name"
  159. IDS_ERROR_TEXT_BUILTINSETTINGSWITHSAMENAME "Built-in settings with same name already exist!\nPlease use a unique name for these settings."
  160. IDS_SETTING_NONE "Off"
  161. IDS_SETTING_336MODEM1 "33.6 Modem 1, 2% packet loss"
  162. IDS_SETTING_336MODEM2 "33.6 Modem 2, 0.75% packet loss"
  163. IDS_SETTING_56KMODEM1 "56K Modem 1, 2% packet loss"
  164. IDS_SETTING_56KMODEM2 "56K Modem 2, 0.75% packet loss"
  165. IDS_SETTING_256KBPSDSL "256Kbps DSL, 0.5% packet loss"
  166. IDS_SETTING_DISCONNECTED "Disconnected (100% packet loss)"
  167. IDS_SETTING_HIGHPACKETLOSS "High packet loss (10%)"
  168. IDS_SETTING_HIGHLATENCYVARIANCE "High latency variance (100-400ms)"
  169. IDS_SETTING_CUSTOM "Custom"
  170. END
  171. /////////////////////////////////////////////////////////////////////////////
  172. /*
  173. #ifdef APSTUDIO_INVOKED
  174. /////////////////////////////////////////////////////////////////////////////
  175. //
  176. // TEXTINCLUDE
  177. //
  178. 1 TEXTINCLUDE DISCARDABLE
  179. BEGIN
  180. "resource.h\0"
  181. END
  182. 2 TEXTINCLUDE DISCARDABLE
  183. BEGIN
  184. "#include ""afxres.h""\r\n"
  185. "\0"
  186. END
  187. 3 TEXTINCLUDE DISCARDABLE
  188. BEGIN
  189. "\r\n"
  190. "\0"
  191. END
  192. #endif // APSTUDIO_INVOKED
  193. */
  194. #endif // English (U.S.) resources