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