1 /*
2  * REG.EXE - Wine-compatible reg program.
3  *
4  * Copyright 2008 Andrew Riedi
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 /* Translation IDs */
26 
27 /* Shared */
28 #define STRING_YES                    100
29 #define STRING_NO                     101
30 #define STRING_ALL                    102
31 #define STRING_YESNO                  103
32 #define STRING_YESNOALL               104
33 #define STRING_INVALID_SYNTAX         105
34 #define STRING_FUNC_HELP              106
35 #define STRING_ACCESS_DENIED          107
36 #define STRING_SUCCESS                108
37 #define STRING_CANCELLED              109
38 #define STRING_KEY_NONEXIST           110
39 #define STRING_VALUE_NONEXIST         111
40 #define STRING_DEFAULT_VALUE          112
41 
42 /* reg.c */
43 #define STRING_REG_HELP               150
44 #define STRING_USAGE                  151
45 #define STRING_ADD_USAGE              152
46 #define STRING_COPY_USAGE             153
47 #define STRING_DELETE_USAGE           154
48 #define STRING_EXPORT_USAGE           155
49 #define STRING_IMPORT_USAGE           156
50 #define STRING_QUERY_USAGE            157
51 #define STRING_REG_VIEW_USAGE         164
52 #define STRING_INVALID_KEY            165
53 #define STRING_NO_REMOTE              166
54 #define STRING_INVALID_SYSTEM_KEY     167
55 #define STRING_INVALID_OPTION         168
56 
57 /* add.c */
58 #define STRING_MISSING_NUMBER         200
59 #define STRING_MISSING_HEXDATA        201
60 #define STRING_INVALID_STRING         202
61 #define STRING_UNHANDLED_TYPE         203
62 #define STRING_UNSUPPORTED_TYPE       204
63 #define STRING_OVERWRITE_VALUE        205
64 #define STRING_INVALID_CMDLINE        206
65 
66 /* copy.c */
67 #define STRING_COPY_SRC_DEST_SAME     250
68 #define STRING_COPY_CONFIRM           251
69 
70 /* delete.c */
71 #define STRING_DELETE_VALUE           300
72 #define STRING_DELETE_VALUEALL        301
73 #define STRING_DELETE_SUBKEY          302
74 #define STRING_VALUEALL_FAILED        303
75 
76 /* export.c */
77 #define STRING_OVERWRITE_FILE         350
78 
79 /* import.c */
80 #define STRING_ESCAPE_SEQUENCE        400
81 #define STRING_KEY_IMPORT_FAILED      401
82 #define STRING_FILE_NOT_FOUND         402
83 
84 /* query.c */
85 #define STRING_VALUE_NOT_SET          450
86 #define STRING_MATCHES_FOUND          451
87