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.

61 lines
2.3 KiB

  1. #include <windows.h>
  2. #include <ntverp.h>
  3. #define VER_FILETYPE VFT_APP
  4. #define VER_FILESUBTYPE VFT2_UNKNOWN
  5. #define VER_FILEDESCRIPTION_STR "Microsoft\256 Disk Benchmark Utility"
  6. #define VER_INTERNALNAME_STR "DSKBENCH.EXE"
  7. #define VER_ORIGINALFILENAME_STR "DSKBENCH.EXE"
  8. #include <common.ver>
  9. #include "dskbench.h"
  10. BENCH_DLG DIALOG 15, 24, 220, 175
  11. STYLE WS_BORDER | DS_NOIDLEMSG |
  12. WS_POPUP | WS_VISIBLE | WS_CAPTION |
  13. WS_SYSMENU | WS_MINIMIZEBOX
  14. CAPTION "DskBench"
  15. BEGIN
  16. CONTROL "", 101, "Static", SS_BLACKFRAME | WS_GROUP, 15, 127, 63,
  17. 37
  18. CONTROL "", 102, "Static", SS_BLACKFRAME | WS_GROUP, 15, 89, 63,
  19. 38
  20. LTEXT "Buffer Size:", 103, 10, 10, 40, 8
  21. LTEXT "Test Case:", 105, 10, 30, 40, 8
  22. LTEXT "Status:", 106, 10, 50, 30, 8
  23. LTEXT "65536", STATUS_BUFFER, 60, 10, 40, 8
  24. LTEXT "Read", STATUS_CASE, 60, 30, 40, 8
  25. LTEXT "Sequential", STATUS_CASE1, 60, 40, 40, 8
  26. LTEXT "STOPPED", STATUS_TEST, 60, 50, 70, 8
  27. AUTORADIOBUTTON "Read", TEST_RAD_READ, 20, 90, 50, 10, WS_GROUP
  28. AUTORADIOBUTTON "Write", TEST_RAD_WRITE, 20, 105, 50, 10
  29. AUTORADIOBUTTON "Sequential", VAR_RAD_SEQ, 20, 130, 50, 10, WS_GROUP
  30. AUTORADIOBUTTON "Random", VAR_RAD_RAND, 20, 145, 50, 10
  31. CONTROL "", 115, "Static", SS_BLACKRECT, 0, 75, 220, 1
  32. LTEXT "Drive:", 126, 85, 81, 50, 8
  33. COMBOBOX DRV_BOX, 85, 90, 48, 35, CBS_DROPDOWN | CBS_SORT |
  34. WS_VSCROLL | WS_TABSTOP
  35. SCROLLBAR SPIN_CTL, 132, 115, 10, 12, SBS_VERT | WS_TABSTOP
  36. LTEXT "Buffer Size:", 123, 85, 108, 38, 8
  37. LTEXT "Test:", 127, 15, 80, 20, 8
  38. LTEXT "00:00:00:00", TIME_TEXT, 149, 20, 42, 10
  39. LTEXT "Run Time:", 129, 145, 10, 40, 8
  40. CONTROL "", 130, "Static", SS_BLACKFRAME, 145, 19, 50, 12
  41. CONTROL "", 119, "Static", SS_BLACKFRAME, 85, 115, 46, 12
  42. RTEXT "65536", BUFFER_TEXT, 86, 116, 44, 8
  43. PUSHBUTTON "Start", START_BUTTON, 160, 90, 40, 14
  44. PUSHBUTTON "Stop", STOP_BUTTON, 160, 110, 40, 14
  45. PUSHBUTTON "Quit", QUIT_BUTTON, 160, 130, 40, 14
  46. END