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.

109 lines
4.3 KiB

  1. /************************************************************************\
  2. *
  3. * MODULE: exts.h
  4. *
  5. * DESCRIPTION: macro driving file for use with stdexts.h and stdexts.c.
  6. *
  7. * Copyright (c) 6/9/1995, Microsoft Corporation
  8. *
  9. * 6/9/1995 SanfordS Created
  10. * 10/28/97 butchered by cdturner to work for the shell team
  11. *
  12. \************************************************************************/
  13. DOIT( help
  14. ,"help -v [cmd] - Displays this list or gives details on command\n"
  15. ," help - To dump short help text on all commands.\n"
  16. " help -v - To dump long help text on all commands.\n"
  17. " help cmd - To dump long help on given command.\n"
  18. ,"v"
  19. ,CUSTOM)
  20. DOIT( pidl
  21. ,"pidl -vrf [address] - Display contents of pidl at address [address]\n"
  22. ,"pidl -r [address] - To dump the contents of a RegItem pidl at [address]\n"
  23. "pidl -f [address] - To dump the contents of a FileSys pidl at [address]\n"
  24. "pidl -vr [address] - Dumps the verbose info for each pidl\n"
  25. , "vrf"
  26. , STDARGS1)
  27. DOIT( filever
  28. ,"filever [-nd] [<filename>] - Display file version information\n"
  29. ,"filever -d <filename> - DllGetVersionInfo (requires LoadLibrary)\n"
  30. "filever -n <filename> - File version resource information (default)\n"
  31. "filever -v <filename> - Verbose file version resource information\n"
  32. "\n"
  33. " If omitted, <filename> defaults to shell32.dll\n"
  34. " Flags may be combined to dump multiple info\n"
  35. ,"vnd"
  36. ,CUSTOM)
  37. DOIT( test
  38. ,"test - Test basic debug functions.\n"
  39. ,""
  40. ,""
  41. ,NOARGS)
  42. DOIT( ver
  43. ,"ver - show versions of shlexts.\n"
  44. ,""
  45. ,""
  46. ,NOARGS)
  47. DOIT( hwnd
  48. ,"hwnd - show HWND info (doesn't require symbols)\n"
  49. ,"hwnd windowhandle - display basic informatione\n"
  50. "hwnd -b windowhandle - display window extra bytes\n"
  51. "hwnd -p windowhandle - display window properties\n"
  52. "hwnd -m - display miscellaneous windows\n"
  53. "\n"
  54. "Window <hwnd> \"<title>\" (<class>)\n"
  55. " N=<hwndNext> C=<hwndChild> P=<hwndParent> O=<hwndOwner>\n"
  56. " W=<windowrect> C=<clientrect>\n"
  57. " pid.tid=<pid>.<tid> hinst=<hinstance> wp=<wndproc>\n"
  58. " style=<style> exstyle=<exstyle>\n"
  59. ,"bpm"
  60. , STDARGS1)
  61. DOIT( hmenu
  62. ,"hmenu - show HMENU info (doesn't require symbols)\n"
  63. ,"hmenu menuhandle - display basic information\n"
  64. "\n"
  65. "Menu <hmenu> %d items\n"
  66. " n: id=<id> ref=<refdata> type <desc> <flags> [-> <submenu>]\n"
  67. ,""
  68. , STDARGS1)
  69. DOIT( dlgt
  70. ,"dlgt address - dump dialog template\n"
  71. ,"dlgt address - dump dialog template\n"
  72. ,""
  73. , STDARGS1)
  74. DOIT( stackpig
  75. ,"stackpig [nFrames] - stack trace with stack usage\n"
  76. ," [nFrames] - number of frames to walk, default 25\n"
  77. ,""
  78. , STDARGS1)
  79. DOIT( wmex
  80. ,"wmex msg [hwnd] - print window message\n"
  81. ,"wmex msg - print the name of all window messages with value msg\n"
  82. "wmex msg hwnd - print the name of msg specific to window class of hwnd\n"
  83. ,""
  84. , STDARGS2)
  85. DOIT( drawicon
  86. ,"drawicon [-cw] handle - Draws the given icon as ASCII or in a window\n"
  87. ,"drawicon handle - Draws icon as ASCII in ntsd session\n"
  88. "drawicon -c handle - Draws icon as ASCII in ntsd session w/ color\n"
  89. " (Colors will not work through a remote)\n"
  90. "drawicon -w handle - Draws icon in popup window on remote side\n"
  91. " Left double-click or '+' to zoom in\n"
  92. " Right double-click or '-' to zoom out\n"
  93. ,"cw"
  94. , STDARGS1)