regsvr32: Use correct exit code when LoadLibraryEx fails.
[wine.git] / programs / regsvr32 / regsvr32.h
blob85b4a72f2f9bfba3bdea842657becf671eadd58a
1 /*
2 * Regsvr32 definitions
4 * Copyright 2014 Hugh McMaster
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 /* Exit codes */
22 #define LOADLIBRARY_FAILED 3
23 #define GETPROCADDRESS_FAILED 4
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