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