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.

110 lines
3.8 KiB

  1. The document breifly describes DdeStrs.exe.
  2. DdeStrs is intended to exercise and stress Dde/Ddeml.
  3. Some areas exercised in the test are ...
  4. o Async/fAckRequest advise loops
  5. o Async executes
  6. o CF_TEXT, CF_DIB, CF_BITMAP, CF_METAFILEPICT, CF_PALETTE,
  7. and CF_ENHMETAFILE (w32 only) formats.
  8. o DdeConnectList/DdeDisconnectList
  9. o AppOwned handles [when -a option used]
  10. o Variable client/server connects (number of instances running
  11. of ddestrs.exe)
  12. o Cross process/In process and multithread communication.
  13. o System Timers
  14. The command line options are ...
  15. DdeStrs [-#%,-e#,-t#,-d,-a,-s,-c,-f#,-nNAME,-i#,-p,-?]
  16. where -#% allow the user to specify the intensity of
  17. the run (# = [1...100]) and can be read as stress
  18. percentage. 1 being low stress 100 being high stress.
  19. where -e# allows override of the delay set by the stress
  20. level. -e0 is usefull if the stress test is the only one
  21. running and it is desirable for the test to cover ground
  22. (number of windows, classes, and messages that are
  23. exercised). # is in milliseconds.
  24. where -t# specifies the number of minutes for the test to run. At
  25. the end of # minutes the test will shutdown. Default is 4320 min
  26. (About a weekend). Test can also be exited manually at any
  27. point.
  28. where -d selects debug mode. This mode of operation displays
  29. additional test information and outputs failures to
  30. the debug terminal. This mode is intended for debugging
  31. DdeStrs failures and not for use in public stress runs.
  32. where -a specifies to use AppOwned handle for data communications.
  33. where -s specifies that this instance is to run as server only
  34. [default is -s -c].
  35. where -c specifies that this instance is to run as client only.
  36. [default is -s -c].
  37. where -f# allow specific formats to be used. Default is all
  38. formats. If any specific formats are specified then only
  39. to formats will be used in the communication.
  40. [Ex - ddestrs -f1 -f2] will only use formats 1 and 2.
  41. Formats 1 CF_TEXT
  42. 2 CF_DIB
  43. 3 CF_BITMAP
  44. 4 CF_ENHMETAFILE (w32 only)
  45. 5 CF_METAFILEPICT
  46. 6 CF_PALETTE
  47. where -nNAME specifies the computer name to connect to. This
  48. is used for netdde and only needs to be specified on client
  49. applications. NAME=servername, Example '-njohnsp1' for
  50. computer \\johnsp1. Use Ddeshare.exe (w31 resources kit or
  51. Nt sdk) to setup the dde share enabling netdde to work. DdeStrs
  52. Service Name=DdeStrs, Topic=Test, and permissions must be
  53. change or greater (ddestrs.exe uses executes).
  54. where -i# specifies the number of threads to execute. # can
  55. be in the range [1..5]. This option is only available
  56. for Win Nt.
  57. where -p specifies pause before data update. With this specified the user can
  58. manually start executes and advise updates. With this connections are established, but
  59. no data is passed until manually started. DdeStrs adds a 'pause' button to allow stress
  60. to be started and stopped. Default is NO -p.
  61. where -? brings up a brief help list of DdeStrs Options.
  62. Test Usage ...
  63. Ddestrs will communicate with multiple copies of itself. Each
  64. new instance of ddestrs started will cause other instances to
  65. connect to all running copies available for conversation. This
  66. allows the stress level to be tailored both by the -#% and
  67. by the number of copies of the test running.
  68. Focus Test Api ...
  69. DdeQueryNextServer
  70. DdeClientTransaction
  71. DdeDisconnectList
  72. DdeConnectList
  73. DdeAccessData
  74. DdeAddData
  75. DdePostAdvise
  76. DdeDisconnect
  77. DdeUnaccessData
  78. DdeInitialize
  79. DdeNameService
  80. DdeCreateStringHandle
  81. DdeUninitialize
  82. DdeFreeStringHandle
  83. DdeCmpStringHandles
  84. DdeQueryConvInfo
  85. DdeCreateDataHandle
  86. DdeFreeDataHandle