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
07c1a1ca
Commit
07c1a1ca
authored
Dec 14, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fix module on which GetTypeFromName is done.
parent
f96bdda0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
type.c
dlls/dbghelp/type.c
+4
-4
No files found.
dlls/dbghelp/type.c
View file @
07c1a1ca
...
...
@@ -878,13 +878,13 @@ BOOL WINAPI SymGetTypeFromName(HANDLE hProcess, ULONG64 BaseOfDll,
PCSTR
Name
,
PSYMBOL_INFO
Symbol
)
{
struct
process
*
pcs
=
process_find_by_handle
(
hProcess
);
struct
module
*
module
;
struct
module
_pair
pair
;
struct
symt
*
type
;
if
(
!
pcs
)
return
FALSE
;
module
=
module_find_by_addr
(
pcs
,
BaseOfDll
,
DMT_UNKNOWN
);
if
(
!
module
)
return
FALSE
;
type
=
symt_find_type_by_name
(
modul
e
,
SymTagNull
,
Name
);
pair
.
requested
=
module_find_by_addr
(
pcs
,
BaseOfDll
,
DMT_UNKNOWN
);
if
(
!
module
_get_debug
(
&
pair
)
)
return
FALSE
;
type
=
symt_find_type_by_name
(
pair
.
effectiv
e
,
SymTagNull
,
Name
);
if
(
!
type
)
return
FALSE
;
Symbol
->
TypeIndex
=
(
DWORD
)
type
;
...
...
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