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
e186f54c
Commit
e186f54c
authored
Dec 02, 2005
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 02, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add IMAGEHLP_MODULEW64.
Add SymGetModuleInfoW64() and SymLoadModule64().
parent
08a2a609
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
2 deletions
+31
-2
module.c
dlls/dbghelp/module.c
+2
-2
dbghelp.h
include/dbghelp.h
+29
-0
No files found.
dlls/dbghelp/module.c
View file @
e186f54c
...
...
@@ -420,8 +420,8 @@ DWORD64 WINAPI SymLoadModuleEx(HANDLE hProcess, HANDLE hFile, PCSTR ImageName,
/***********************************************************************
* SymLoadModule64 (DBGHELP.@)
*/
DWORD
WINAPI
SymLoadModule64
(
HANDLE
hProcess
,
HANDLE
hFile
,
char
*
ImageName
,
char
*
ModuleName
,
DWORD64
BaseOfDll
,
DWORD
SizeOfDll
)
DWORD
64
WINAPI
SymLoadModule64
(
HANDLE
hProcess
,
HANDLE
hFile
,
PSTR
ImageName
,
PSTR
ModuleName
,
DWORD64
BaseOfDll
,
DWORD
SizeOfDll
)
{
if
(
!
validate_addr64
(
BaseOfDll
))
return
FALSE
;
return
SymLoadModule
(
hProcess
,
hFile
,
ImageName
,
ModuleName
,
(
DWORD
)
BaseOfDll
,
SizeOfDll
);
...
...
include/dbghelp.h
View file @
e186f54c
...
...
@@ -161,6 +161,33 @@ typedef struct _IMAGEHLP_MODULE64
BOOL
Publics
;
}
IMAGEHLP_MODULE64
,
*
PIMAGEHLP_MODULE64
;
typedef
struct
_IMAGEHLP_MODULE64W
{
DWORD
SizeOfStruct
;
DWORD64
BaseOfImage
;
DWORD
ImageSize
;
DWORD
TimeDateStamp
;
DWORD
CheckSum
;
DWORD
NumSyms
;
SYM_TYPE
SymType
;
WCHAR
ModuleName
[
32
];
WCHAR
ImageName
[
256
];
WCHAR
LoadedImageName
[
256
];
WCHAR
LoadedPdbName
[
256
];
DWORD
CVSig
;
WCHAR
CVData
[
MAX_PATH
*
3
];
DWORD
PdbSig
;
GUID
PdbSig70
;
DWORD
PdbAge
;
BOOL
PdbUnmatched
;
BOOL
DbgUnmatched
;
BOOL
LineNumbers
;
BOOL
GlobalSymbols
;
BOOL
TypeInfo
;
BOOL
SourceIndexed
;
BOOL
Publics
;
}
IMAGEHLP_MODULEW64
,
*
PIMAGEHLP_MODULEW64
;
typedef
struct
_IMAGEHLP_LINE
{
DWORD
SizeOfStruct
;
...
...
@@ -662,8 +689,10 @@ BOOL WINAPI SymEnumerateModules(HANDLE, PSYM_ENUMMODULES_CALLBACK, PVOID);
BOOL
WINAPI
SymGetModuleInfo
(
HANDLE
,
DWORD
,
PIMAGEHLP_MODULE
);
BOOL
WINAPI
SymGetModuleInfoW
(
HANDLE
,
DWORD
,
PIMAGEHLP_MODULEW
);
BOOL
WINAPI
SymGetModuleInfo64
(
HANDLE
,
DWORD64
,
PIMAGEHLP_MODULE64
);
BOOL
WINAPI
SymGetModuleInfoW64
(
HANDLE
,
DWORD64
,
PIMAGEHLP_MODULEW64
);
DWORD
WINAPI
SymGetModuleBase
(
HANDLE
,
DWORD
);
DWORD
WINAPI
SymLoadModule
(
HANDLE
,
HANDLE
,
PSTR
,
PSTR
,
DWORD
,
DWORD
);
DWORD64
WINAPI
SymLoadModule64
(
HANDLE
,
HANDLE
,
PSTR
,
PSTR
,
DWORD64
,
DWORD
);
DWORD64
WINAPI
SymLoadModuleEx
(
HANDLE
,
HANDLE
,
PCSTR
,
PCSTR
,
DWORD64
,
DWORD
,
PMODLOAD_DATA
,
DWORD
);
BOOL
WINAPI
SymUnloadModule
(
HANDLE
,
DWORD
);
...
...
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