Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
4a4baf25
Commit
4a4baf25
authored
Sep 02, 2015
by
Hugh McMaster
Committed by
Alexandre Julliard
Sep 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regsvr32: Use correct exit code when LoadLibraryEx fails.
parent
68a5642d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
regsvr32.c
programs/regsvr32/regsvr32.c
+1
-1
regsvr32.h
programs/regsvr32/regsvr32.h
+1
-0
No files found.
programs/regsvr32/regsvr32.c
View file @
4a4baf25
...
...
@@ -107,7 +107,7 @@ static VOID *LoadProc(const WCHAR* strDll, const char* procName, HMODULE* DllHan
if
(
!*
DllHandle
)
{
output_write
(
STRING_DLL_LOAD_FAILED
,
strDll
);
ExitProcess
(
1
);
ExitProcess
(
LOADLIBRARY_FAILED
);
}
proc
=
(
VOID
*
)
GetProcAddress
(
*
DllHandle
,
procName
);
if
(
!
proc
)
...
...
programs/regsvr32/regsvr32.h
View file @
4a4baf25
...
...
@@ -19,6 +19,7 @@
*/
/* Exit codes */
#define LOADLIBRARY_FAILED 3
#define GETPROCADDRESS_FAILED 4
/* Resource strings */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment