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.

408 lines
14 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1998
  6. //
  7. // File: stillvue.rc
  8. //
  9. //--------------------------------------------------------------------------
  10. //Microsoft Developer Studio generated resource script.
  11. //
  12. #include "resource.h"
  13. #define APSTUDIO_READONLY_SYMBOLS
  14. /////////////////////////////////////////////////////////////////////////////
  15. //
  16. // Generated from the TEXTINCLUDE 2 resource.
  17. //
  18. #include "afxres.h"
  19. /////////////////////////////////////////////////////////////////////////////
  20. #undef APSTUDIO_READONLY_SYMBOLS
  21. /////////////////////////////////////////////////////////////////////////////
  22. // English (U.S.) resources
  23. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  24. #ifdef _WIN32
  25. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  26. #pragma code_page(1252)
  27. #endif //_WIN32
  28. #ifdef APSTUDIO_INVOKED
  29. /////////////////////////////////////////////////////////////////////////////
  30. //
  31. // TEXTINCLUDE
  32. //
  33. 1 TEXTINCLUDE DISCARDABLE
  34. BEGIN
  35. "resource.h\0"
  36. END
  37. 2 TEXTINCLUDE DISCARDABLE
  38. BEGIN
  39. "#include ""afxres.h""\r\n"
  40. "\0"
  41. END
  42. 3 TEXTINCLUDE DISCARDABLE
  43. BEGIN
  44. "\r\n"
  45. "\0"
  46. END
  47. #endif // APSTUDIO_INVOKED
  48. /////////////////////////////////////////////////////////////////////////////
  49. //
  50. // Icon
  51. //
  52. // Icon with lowest ID value placed first to ensure application icon
  53. // remains consistent on all systems.
  54. IDI_STI ICON DISCARDABLE "scan1.ico"
  55. /////////////////////////////////////////////////////////////////////////////
  56. //
  57. // Menu
  58. //
  59. IDR_STI_COMP MENU DISCARDABLE
  60. BEGIN
  61. POPUP "Tests"
  62. BEGIN
  63. MENUITEM "Start Compliance test", IDM_COMPLIANCE
  64. END
  65. MENUITEM "Pause", IDM_PAUSE, GRAYED
  66. MENUITEM "Help!", IDM_HELP
  67. END
  68. IDR_STI_LAB MENU DISCARDABLE
  69. BEGIN
  70. POPUP "Automation"
  71. BEGIN
  72. MENUITEM "Timing", IDM_SETTINGS
  73. MENUITEM "Start/Stop Automated test", IDM_AUTO
  74. MENUITEM "ShipCrit test", IDM_SHIPCRIT
  75. MENUITEM "WHQL Compliance test", IDM_COMPLIANCE
  76. END
  77. POPUP "IStillImage"
  78. BEGIN
  79. MENUITEM "StiCreateInstance", IDM_CREATE_INSTANCE
  80. MENUITEM "GetDeviceList", IDM_GET_DEVLIST, GRAYED
  81. MENUITEM "CreateDevice", IDM_CREATE_DEV, GRAYED
  82. MENUITEM "GetDeviceInfo", IDM_GET_DEVINFO, GRAYED
  83. MENUITEM "GetDeviceValue", IDM_GET_DEVVAL, GRAYED
  84. MENUITEM "SetDeviceValue", IDM_SET_DEVVAL, GRAYED
  85. MENUITEM "RegisterLaunchApplication", IDM_REGISTER_LAUNCH, GRAYED
  86. MENUITEM "UnRegisterLaunchApplication", IDM_UNREGISTER_LAUNCH
  87. , GRAYED
  88. MENUITEM "EnableHwNotifications", IDM_ENABLE_HWNOTIF, GRAYED
  89. MENUITEM "GetHwNotificationState", IDM_GET_HWNOTIF, GRAYED
  90. MENUITEM "Refresh", IDM_REFRESH_DEVBUS, GRAYED
  91. MENUITEM "WriteToErrorLog", IDM_WRITE_ERRORLOG, GRAYED
  92. MENUITEM "Release (Sti subsystem)", IDM_IMAGE_RELEASE, GRAYED
  93. END
  94. POPUP "IStillDevice"
  95. BEGIN
  96. MENUITEM "GetStatus (OnLine)", IDM_GET_STATUS_A, GRAYED
  97. MENUITEM "GetStatus (Events)", IDM_GET_STATUS_B, GRAYED
  98. MENUITEM "GetStatus (All)", IDM_GET_STATUS_C, GRAYED
  99. MENUITEM "GetCapabilities", IDM_GET_CAPS, GRAYED
  100. MENUITEM "DeviceReset", IDM_DEVICERESET, GRAYED
  101. MENUITEM "Diagnostic", IDM_DIAGNOSTIC, GRAYED
  102. MENUITEM "GetLastInfoError", IDM_GET_LASTERRINFO, GRAYED
  103. MENUITEM "Subscribe", IDM_SUBSCRIBE, GRAYED
  104. MENUITEM "UnSubscribe", IDM_UNSUBSCRIBE, GRAYED
  105. MENUITEM "Escape (A)", IDM_ESCAPE_A, GRAYED
  106. MENUITEM "RawReadData (A)", IDM_RAWREADDATA_A, GRAYED
  107. MENUITEM "RawWriteData (A)", IDM_RAWWRITEDATA_A, GRAYED
  108. MENUITEM "RawReadCommand (A)", IDM_RAWREADCOMMAND_A, GRAYED
  109. MENUITEM "RawWriteCommand (A)", IDM_RAWWRITECOMMAND_A
  110. , GRAYED
  111. MENUITEM "Release (Device)", IDM_DEVICE_RELEASE, GRAYED
  112. END
  113. POPUP "Scanning"
  114. BEGIN
  115. MENUITEM "Lamp Off", IDM_LAMPOFF, GRAYED
  116. MENUITEM "Lamp On", IDM_LAMPON, GRAYED
  117. MENUITEM "Scan", IDM_SCAN, GRAYED
  118. MENUITEM "Display Image", IDM_SHOWDIB, GRAYED
  119. END
  120. MENUITEM "Pause", IDM_PAUSE, GRAYED
  121. MENUITEM "Help!", IDM_HELP
  122. END
  123. IDR_STI_DDK MENU DISCARDABLE
  124. BEGIN
  125. POPUP "IStillImage"
  126. BEGIN
  127. MENUITEM "StiCreateInstance", IDM_CREATE_INSTANCE
  128. MENUITEM "GetDeviceList", IDM_GET_DEVLIST, GRAYED
  129. MENUITEM "CreateDevice", IDM_CREATE_DEV, GRAYED
  130. MENUITEM "GetDeviceInfo", IDM_GET_DEVINFO, GRAYED
  131. MENUITEM "GetDeviceValue", IDM_GET_DEVVAL, GRAYED
  132. MENUITEM "SetDeviceValue", IDM_SET_DEVVAL, GRAYED
  133. MENUITEM "RegisterLaunchApplication", IDM_REGISTER_LAUNCH, GRAYED
  134. MENUITEM "UnRegisterLaunchApplication", IDM_UNREGISTER_LAUNCH
  135. , GRAYED
  136. MENUITEM "EnableHwNotifications", IDM_ENABLE_HWNOTIF, GRAYED
  137. MENUITEM "GetHwNotificationState", IDM_GET_HWNOTIF, GRAYED
  138. MENUITEM "Refresh", IDM_REFRESH_DEVBUS, GRAYED
  139. MENUITEM "WriteToErrorLog", IDM_WRITE_ERRORLOG, GRAYED
  140. MENUITEM "Release (Sti subsystem)", IDM_IMAGE_RELEASE, GRAYED
  141. END
  142. POPUP "IStillDevice"
  143. BEGIN
  144. MENUITEM "GetStatus (OnLine)", IDM_GET_STATUS_A, GRAYED
  145. MENUITEM "GetStatus (Events)", IDM_GET_STATUS_B, GRAYED
  146. MENUITEM "GetStatus (All)", IDM_GET_STATUS_C, GRAYED
  147. MENUITEM "GetCapabilities", IDM_GET_CAPS, GRAYED
  148. MENUITEM "DeviceReset", IDM_DEVICERESET, GRAYED
  149. MENUITEM "Diagnostic", IDM_DIAGNOSTIC, GRAYED
  150. MENUITEM "GetLastInfoError", IDM_GET_LASTERRINFO, GRAYED
  151. MENUITEM "Subscribe", IDM_SUBSCRIBE, GRAYED
  152. MENUITEM "UnSubscribe", IDM_UNSUBSCRIBE, GRAYED
  153. MENUITEM "Escape (A)", IDM_ESCAPE_A, GRAYED
  154. MENUITEM "RawReadData (A)", IDM_RAWREADDATA_A, GRAYED
  155. MENUITEM "RawWriteData (A)", IDM_RAWWRITEDATA_A, GRAYED
  156. MENUITEM "RawReadCommand (A)", IDM_RAWREADCOMMAND_A, GRAYED
  157. MENUITEM "RawWriteCommand (A)", IDM_RAWWRITECOMMAND_A
  158. , GRAYED
  159. MENUITEM "Release (Device)", IDM_DEVICE_RELEASE, GRAYED
  160. END
  161. POPUP "Automation"
  162. BEGIN
  163. MENUITEM "Timing", IDM_SETTINGS
  164. MENUITEM "Start/Stop Automated test", IDM_AUTO
  165. END
  166. POPUP "Scanning"
  167. BEGIN
  168. MENUITEM "Lamp Off", IDM_LAMPOFF, GRAYED
  169. MENUITEM "Lamp On", IDM_LAMPON, GRAYED
  170. MENUITEM "Scan", IDM_SCAN, GRAYED
  171. MENUITEM "Display Image", IDM_SHOWDIB, GRAYED
  172. END
  173. MENUITEM "Pause", IDM_PAUSE, GRAYED
  174. MENUITEM "Help!", IDM_HELP
  175. END
  176. #ifndef _MAC
  177. /////////////////////////////////////////////////////////////////////////////
  178. //
  179. // Version
  180. //
  181. VS_VERSION_INFO VERSIONINFO
  182. FILEVERSION 1,0,0,0
  183. PRODUCTVERSION 4,0,0,0
  184. FILEFLAGSMASK 0x3fL
  185. #ifdef _DEBUG
  186. FILEFLAGS 0x1L
  187. #else
  188. FILEFLAGS 0x0L
  189. #endif
  190. FILEOS 0x40004L
  191. FILETYPE 0x1L
  192. FILESUBTYPE 0x0L
  193. BEGIN
  194. BLOCK "StringFileInfo"
  195. BEGIN
  196. BLOCK "040904b0"
  197. BEGIN
  198. VALUE "Comments", "StiComplianceTest\0"
  199. VALUE "CompanyName", "Microsoft Corporation\0"
  200. VALUE "FileDescription", "StiComplianceTest\0"
  201. VALUE "FileVersion", "1.5\0"
  202. VALUE "InternalName", "StiComplianceTest\0"
  203. VALUE "LegalCopyright", "Copyright � 1997\0"
  204. VALUE "OriginalFilename", "Stillvue.exe\0"
  205. VALUE "ProductName", "Still Imaging test\0"
  206. VALUE "ProductVersion", "04.10.00.1650.8\0"
  207. END
  208. END
  209. BLOCK "VarFileInfo"
  210. BEGIN
  211. VALUE "Translation", 0x409, 1200
  212. END
  213. END
  214. #endif // !_MAC
  215. /////////////////////////////////////////////////////////////////////////////
  216. //
  217. // Dialog
  218. //
  219. IDD_SELECT DIALOG DISCARDABLE 0, 0, 202, 74
  220. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  221. CAPTION "Pick a device"
  222. FONT 8, "MS Sans Serif"
  223. BEGIN
  224. COMBOBOX IDC_SELECT_DEVICE,76,4,120,69,CBS_DROPDOWNLIST |
  225. WS_VSCROLL | WS_TABSTOP
  226. DEFPUSHBUTTON "OK",IDOK,76,44,50,14
  227. PUSHBUTTON "Cancel",IDCANCEL,138,44,50,14
  228. RTEXT "Don't open device (select name only)",IDC_STATIC,4,22,
  229. 67,22
  230. RTEXT "Select device",IDC_STATIC,3,5,68,13
  231. CONTROL "",IDC_SELECT_NAME,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
  232. 76,21,27,15
  233. END
  234. IDD_SETTINGS DIALOG DISCARDABLE 0, 0, 246, 103
  235. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  236. CAPTION "Automated test settings"
  237. FONT 8, "MS Sans Serif"
  238. BEGIN
  239. DEFPUSHBUTTON "OK",IDOK,189,7,50,14
  240. PUSHBUTTON "Cancel",IDCANCEL,189,24,50,14
  241. COMBOBOX IDC_AUTO_SECONDS,117,25,52,60,CBS_DROPDOWNLIST |
  242. WS_VSCROLL | WS_TABSTOP
  243. COMBOBOX IDC_SCAN_SECONDS,117,43,52,66,CBS_DROPDOWNLIST |
  244. WS_VSCROLL | WS_TABSTOP
  245. RTEXT "Test speed (in seconds)",IDC_STATIC,25,25,88,10
  246. RTEXT "Scan interval (in seconds)",IDC_STATIC,25,43,88,10
  247. GROUPBOX "Auto test settings",IDC_STATIC,7,7,172,78
  248. COMBOBOX IDC_MAX_SCAN,117,61,52,48,CBS_DROPDOWN | WS_VSCROLL |
  249. WS_TABSTOP
  250. RTEXT "Maximum test passes",IDC_STATIC,39,61,74,10
  251. END
  252. IDD_SETVALUE DIALOGEX 0, 0, 268, 61
  253. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  254. CAPTION "Set device value"
  255. FONT 8, "MS Sans Serif", 0, 0, 0x1
  256. BEGIN
  257. DEFPUSHBUTTON "OK",IDOK,211,7,50,14
  258. PUSHBUTTON "Cancel",IDCANCEL,211,24,50,14
  259. COMBOBOX IDC_SETVAL_TYPE,67,7,131,49,CBS_DROPDOWN | CBS_SORT |
  260. WS_VSCROLL | WS_TABSTOP
  261. EDITTEXT IDC_SETVAL_DATA,67,30,131,12,ES_AUTOHSCROLL
  262. LTEXT "Value to modify",IDC_STATIC,7,7,54,12,0,WS_EX_RIGHT
  263. LTEXT "New Value",IDC_STATIC,15,31,46,12,0,WS_EX_RIGHT
  264. END
  265. IDD_COMPLIANCE DIALOG DISCARDABLE 0, 0, 186, 95
  266. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  267. CAPTION "Compliance confirmation"
  268. FONT 8, "MS Sans Serif"
  269. BEGIN
  270. DEFPUSHBUTTON "OK",IDOK,129,7,50,14
  271. PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14
  272. LTEXT "Ready to start Compliance test with the following devices:",
  273. IDC_STATIC,7,14,119,31
  274. LISTBOX IDC_COMPLIANCE_DEV_NAME,7,39,120,49,LBS_SORT |
  275. LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  276. END
  277. /////////////////////////////////////////////////////////////////////////////
  278. //
  279. // DESIGNINFO
  280. //
  281. #ifdef APSTUDIO_INVOKED
  282. GUIDELINES DESIGNINFO DISCARDABLE
  283. BEGIN
  284. IDD_SELECT, DIALOG
  285. BEGIN
  286. BOTTOMMARGIN, 72
  287. END
  288. IDD_SETTINGS, DIALOG
  289. BEGIN
  290. LEFTMARGIN, 7
  291. RIGHTMARGIN, 239
  292. TOPMARGIN, 7
  293. BOTTOMMARGIN, 96
  294. END
  295. IDD_COMPLIANCE, DIALOG
  296. BEGIN
  297. LEFTMARGIN, 7
  298. RIGHTMARGIN, 179
  299. TOPMARGIN, 7
  300. BOTTOMMARGIN, 88
  301. END
  302. END
  303. #endif // APSTUDIO_INVOKED
  304. /////////////////////////////////////////////////////////////////////////////
  305. //
  306. // Dialog Info
  307. //
  308. IDD_SETTINGS DLGINIT
  309. BEGIN
  310. IDC_MAX_SCAN, 0x403, 1, 0
  311. "\000"
  312. 0
  313. END
  314. /////////////////////////////////////////////////////////////////////////////
  315. //
  316. // String Table
  317. //
  318. STRINGTABLE DISCARDABLE
  319. BEGIN
  320. IDS_CLASSNAME "WiskClass"
  321. IDS_APPNAME "Still Imaging test"
  322. IDS_CAPTION "Still Imaging test"
  323. END
  324. STRINGTABLE DISCARDABLE
  325. BEGIN
  326. IDS_PRIVSECTION "Last saved state"
  327. IDS_PRIVINI "stillvue.ini"
  328. IDS_AUTO "Auto"
  329. IDS_LAST_COUNT "Last run iterations"
  330. IDS_LAST_SCAN "Last run scans"
  331. IDS_LAST_ERROR "Last run errors"
  332. IDS_THIS_COUNT "This run iterations"
  333. IDS_THIS_SCAN "This run scans"
  334. IDS_THIS_ERROR "This run errors"
  335. IDS_NTLOG "StiWHQL.log"
  336. END
  337. STRINGTABLE DISCARDABLE
  338. BEGIN
  339. IDM_GET_DEVLIST "Detect available Still Imaging Devices"
  340. END
  341. STRINGTABLE DISCARDABLE
  342. BEGIN
  343. IDM_CREATE_DEV "Select a Still Imaging Device"
  344. END
  345. STRINGTABLE DISCARDABLE
  346. BEGIN
  347. IDM_LAMPON "Turn the lamp on"
  348. IDM_LAMPOFF "Turn the lamp off"
  349. IDM_SCAN "Scan and display an image"
  350. END
  351. #endif // English (U.S.) resources
  352. /////////////////////////////////////////////////////////////////////////////
  353. #ifndef APSTUDIO_INVOKED
  354. /////////////////////////////////////////////////////////////////////////////
  355. //
  356. // Generated from the TEXTINCLUDE 3 resource.
  357. //
  358. /////////////////////////////////////////////////////////////////////////////
  359. #endif // not APSTUDIO_INVOKED