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
c6837531
Commit
c6837531
authored
Jun 19, 2008
by
Jon Griffiths
Committed by
Alexandre Julliard
Jun 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Implement SymEnumerateSymbols64.
parent
bb647c9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
1 deletion
+28
-1
dbghelp.spec
dlls/dbghelp/dbghelp.spec
+1
-1
symbol.c
dlls/dbghelp/symbol.c
+27
-0
No files found.
dlls/dbghelp/dbghelp.spec
View file @
c6837531
...
...
@@ -48,7 +48,7 @@
@ stdcall SymEnumerateModules64(long ptr ptr)
@ stdcall SymEnumerateModulesW64(long ptr ptr)
@ stdcall SymEnumerateSymbols(long long ptr ptr)
@ st
ub SymEnumerateSymbols64
@ st
dcall SymEnumerateSymbols64(long double ptr ptr)
@ stub SymEnumerateSymbolsW
@ stub SymEnumerateSymbolsW64
@ stub SymFindDebugInfoFile
...
...
dlls/dbghelp/symbol.c
View file @
c6837531
...
...
@@ -1055,6 +1055,33 @@ BOOL WINAPI SymEnumerateSymbols(HANDLE hProcess, DWORD BaseOfDll,
return
SymEnumSymbols
(
hProcess
,
BaseOfDll
,
NULL
,
sym_enumerate_cb
,
&
se
);
}
struct
sym_enumerate64
{
void
*
ctx
;
PSYM_ENUMSYMBOLS_CALLBACK64
cb
;
};
static
BOOL
CALLBACK
sym_enumerate_cb64
(
PSYMBOL_INFO
syminfo
,
ULONG
size
,
void
*
ctx
)
{
struct
sym_enumerate64
*
se
=
(
struct
sym_enumerate64
*
)
ctx
;
return
(
se
->
cb
)(
syminfo
->
Name
,
syminfo
->
Address
,
syminfo
->
Size
,
se
->
ctx
);
}
/***********************************************************************
* SymEnumerateSymbols64 (DBGHELP.@)
*/
BOOL
WINAPI
SymEnumerateSymbols64
(
HANDLE
hProcess
,
DWORD64
BaseOfDll
,
PSYM_ENUMSYMBOLS_CALLBACK64
EnumSymbolsCallback
,
PVOID
UserContext
)
{
struct
sym_enumerate64
se
;
se
.
ctx
=
UserContext
;
se
.
cb
=
EnumSymbolsCallback
;
return
SymEnumSymbols
(
hProcess
,
BaseOfDll
,
NULL
,
sym_enumerate_cb64
,
&
se
);
}
/******************************************************************
* SymFromAddr (DBGHELP.@)
*
...
...
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