xcopy.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * XCOPY - Wine-compatible xcopy program
  3. *
  4. * Copyright (C) 2007 J. Edmeades
  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. #include <windef.h>
  21. /* Local #defines */
  22. #define RC_OK 0
  23. #define RC_NOFILES 1
  24. #define RC_CTRLC 2
  25. #define RC_INITERROR 4
  26. #define RC_WRITEERROR 5
  27. #define RC_HELP 6
  28. #define OPT_ASSUMEDIR 0x00000001
  29. #define OPT_RECURSIVE 0x00000002
  30. #define OPT_EMPTYDIR 0x00000004
  31. #define OPT_QUIET 0x00000008
  32. #define OPT_FULL 0x00000010
  33. #define OPT_SIMULATE 0x00000020
  34. #define OPT_PAUSE 0x00000040
  35. #define OPT_NOCOPY 0x00000080
  36. #define OPT_NOPROMPT 0x00000100
  37. #define OPT_SHORTNAME 0x00000200
  38. #define OPT_MUSTEXIST 0x00000400
  39. #define OPT_REPLACEREAD 0x00000800
  40. #define OPT_COPYHIDSYS 0x00001000
  41. #define OPT_IGNOREERRORS 0x00002000
  42. #define OPT_SRCPROMPT 0x00004000
  43. #define OPT_ARCHIVEONLY 0x00008000
  44. #define OPT_REMOVEARCH 0x00010000
  45. #define OPT_EXCLUDELIST 0x00020000
  46. #define OPT_DATERANGE 0x00040000
  47. #define OPT_DATENEWER 0x00080000
  48. #define OPT_KEEPATTRS 0x00100000
  49. #define MAXSTRING 8192
  50. /* Translation ids */
  51. #define STRING_INVPARMS 101
  52. #define STRING_INVPARM 102
  53. #define STRING_PAUSE 103
  54. #define STRING_SIMCOPY 104
  55. #define STRING_COPY 105
  56. #define STRING_QISDIR 106
  57. #define STRING_SRCPROMPT 107
  58. #define STRING_OVERWRITE 108
  59. #define STRING_COPYFAIL 109
  60. #define STRING_OPENFAIL 110
  61. #define STRING_READFAIL 111
  62. #define STRING_YES_CHAR 112
  63. #define STRING_NO_CHAR 113
  64. #define STRING_ALL_CHAR 114
  65. #define STRING_FILE_CHAR 115
  66. #define STRING_DIR_CHAR 116
  67. #define STRING_HELP 117