Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
8f272e25
Commit
8f272e25
authored
Oct 19, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Oct 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Factorize SymUnloadModule and SymUnloadModule64.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8b4d5e6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
module.c
dlls/dbghelp/module.c
+1
-8
No files found.
dlls/dbghelp/module.c
View file @
8f272e25
...
...
@@ -1032,14 +1032,7 @@ BOOL module_remove(struct process* pcs, struct module* module)
*/
BOOL
WINAPI
SymUnloadModule
(
HANDLE
hProcess
,
DWORD
BaseOfDll
)
{
struct
process
*
pcs
;
struct
module
*
module
;
pcs
=
process_find_by_handle
(
hProcess
);
if
(
!
pcs
)
return
FALSE
;
module
=
module_find_by_addr
(
pcs
,
BaseOfDll
,
DMT_UNKNOWN
);
if
(
!
module
)
return
FALSE
;
return
module_remove
(
pcs
,
module
);
return
SymUnloadModule64
(
hProcess
,
BaseOfDll
);
}
/******************************************************************
...
...
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