Windows NT 4.0 source code leak
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.

58 lines
2.0 KiB

4 years ago
  1. "\n\
  2. Auto Wrapper\n\
  3. ------------\n\
  4. \n\
  5. This Tool builds a \"Wrapper\" for the entry points that a DLL exports.\n\
  6. This provides a means for user defined code to do something before and after\n\
  7. the API being \"wrapped.\"\n\
  8. \n\
  9. AutoWrap is designed to require no user interaction to create a DLL that will\n\
  10. allow the building of an \"empty\" wrapper DLL. Once this wrapper shell has been\n\
  11. produced code can be written to define actions to be taken in three places:\n\
  12. \n\
  13. \tDLL load time\n\
  14. \tPrior to a wrapped API call\n\
  15. \tFollowing a wrapped API call\n\
  16. \t\n\
  17. This is done by the user filling out the definition of three API that are\n\
  18. placed in WAPI.C. The first time that AutoWrap is run a template WAPI.C will \n\
  19. be produced that will have templates for these three APIs.\n\
  20. \n\
  21. User interface\n\
  22. --------------\n\
  23. \n\
  24. Auto Wrapper is a command line utility. It is run from the directory that you\n\
  25. wish to be the root of your new wrapper DLL. The command line is:\n\
  26. \n\
  27. AUTOWRAP <-u> dll-name\n\
  28. \n\
  29. \t-u\tUpdate - do not regenerate WAPI.C\n\
  30. \t\n\
  31. \tWrapper files are only created if they do not allready exist.\n\
  32. \t\n\
  33. Files\n\
  34. -----\n\
  35. \n\
  36. Auto Wrapper produces the following files:\n\
  37. \n\
  38. \tDO NOT MODIFY THESE FILES\n\
  39. \n\
  40. \t*\\WrapHelp.[Asm,S] Wrapper Internals\n\
  41. \tWrapper.C\t\tWrapper Internals\n\
  42. \tWrapper.H\t\tWrapper Header File - prototypes, structures.\n\
  43. \n\
  44. \tasm files\t\tGenerated assembly language wrapper files\n\
  45. \t*\\WAPI.DEF\t\tGenerated module definition file \n\
  46. \n\
  47. \tWAPI.H\t\tGenerated Table mapping Wrapper IDs to API names\t\n\
  48. \t\n\
  49. \tDO NOT MODIFY THE ABOVE FILES\n\
  50. \n\
  51. \tSources\t\tSources file for Build\n\
  52. \t\n\
  53. \tWAPI.C\t\tYour WrapperDLLInit, APIPrelude and APIPostlude implementation\n\
  54. \n\
  55. IMPORTANT NOTE: The stack on the AXP platform is saved as QWORDS. Pre/Postlude\n\
  56. code that manipulates the argument stack should be written with this in mind.\n\
  57. Both MIPS and x86 use DWORD alignment for their argument stacks. You must\n\
  58. define ALPHA when building the ALPHA libraries."