regsvr32.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Regsvr32 definitions
  3. *
  4. * Copyright 2014 Hugh McMaster
  5. *
  6. * This library is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 2.1 of the License, or (at your option) any later version.
  10. *
  11. * This library is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with this library; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  19. */
  20. /* Exit codes */
  21. #define INVALID_ARG 1
  22. #define LOADLIBRARY_FAILED 3
  23. #define GETPROCADDRESS_FAILED 4
  24. #define DLLSERVER_FAILED 5
  25. /* Resource strings */
  26. #define STRING_HEADER 1000
  27. #define STRING_USAGE 1001
  28. #define STRING_UNRECOGNIZED_SWITCH 1002
  29. #define STRING_DLL_LOAD_FAILED 1003
  30. #define STRING_PROC_NOT_IMPLEMENTED 1004
  31. #define STRING_REGISTER_FAILED 1005
  32. #define STRING_REGISTER_SUCCESSFUL 1006
  33. #define STRING_UNREGISTER_FAILED 1007
  34. #define STRING_UNREGISTER_SUCCESSFUL 1008
  35. #define STRING_INSTALL_FAILED 1009
  36. #define STRING_INSTALL_SUCCESSFUL 1010
  37. #define STRING_UNINSTALL_FAILED 1011
  38. #define STRING_UNINSTALL_SUCCESSFUL 1012