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
ad4a2b90
Commit
ad4a2b90
authored
Oct 09, 2003
by
Steven Edwards
Committed by
Alexandre Julliard
Oct 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bring imagehlp (mostly) inline with the PSDK and Mingw.
parent
5735c58e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
debug.c
dlls/imagehlp/debug.c
+1
-1
imagehlp_main.c
dlls/imagehlp/imagehlp_main.c
+2
-2
imagehlp.h
include/imagehlp.h
+8
-6
No files found.
dlls/imagehlp/debug.c
View file @
ad4a2b90
...
...
@@ -75,7 +75,7 @@ PIMAGE_DEBUG_INFORMATION WINAPI MapDebugInformation(
*/
BOOL
WINAPI
StackWalk
(
DWORD
MachineType
,
HANDLE
hProcess
,
HANDLE
hThread
,
PSTACKFRAME
StackFrame
,
PVOID
ContextRecord
,
LPSTACKFRAME
StackFrame
,
L
PVOID
ContextRecord
,
PREAD_PROCESS_MEMORY_ROUTINE
ReadMemoryRoutine
,
PFUNCTION_TABLE_ACCESS_ROUTINE
FunctionTableAccessRoutine
,
PGET_MODULE_BASE_ROUTINE
GetModuleBaseRoutine
,
...
...
dlls/imagehlp/imagehlp_main.c
View file @
ad4a2b90
...
...
@@ -58,7 +58,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
/***********************************************************************
* ImagehlpApiVersion (IMAGEHLP.@)
*/
PAPI_VERSION
WINAPI
ImagehlpApiVersion
(
)
LPAPI_VERSION
WINAPI
ImagehlpApiVersion
(
VOID
)
{
return
&
IMAGEHLP_ApiVersion
;
}
...
...
@@ -66,7 +66,7 @@ PAPI_VERSION WINAPI ImagehlpApiVersion()
/***********************************************************************
* ImagehlpApiVersionEx (IMAGEHLP.@)
*/
PAPI_VERSION
WINAPI
ImagehlpApiVersionEx
(
PAPI_VERSION
AppVersion
)
LPAPI_VERSION
WINAPI
ImagehlpApiVersionEx
(
L
PAPI_VERSION
AppVersion
)
{
if
(
!
AppVersion
)
return
NULL
;
...
...
include/imagehlp.h
View file @
ad4a2b90
...
...
@@ -25,6 +25,8 @@
extern
"C"
{
#endif
/* defined(__cplusplus) */
#define API_VERSION_NUMBER 7
/* 7 is the default */
/***********************************************************************
* Types
*/
...
...
@@ -168,7 +170,7 @@ typedef struct _API_VERSION {
USHORT
MinorVersion
;
USHORT
Revision
;
USHORT
Reserved
;
}
API_VERSION
,
*
PAPI_VERSION
;
}
API_VERSION
,
*
L
PAPI_VERSION
;
typedef
struct
_IMAGE_DEBUG_INFORMATION
{
LIST_ENTRY
List
;
...
...
@@ -240,7 +242,7 @@ typedef struct _STACKFRAME {
BOOL
Virtual
;
DWORD
Reserved
[
3
];
KDHELP
KdHelp
;
}
STACKFRAME
,
*
PSTACKFRAME
,
*
LPSTACKFRAME
;
}
STACKFRAME
,
*
LPSTACKFRAME
;
typedef
struct
_IMAGEHLP_SYMBOL
{
DWORD
SizeOfStruct
;
...
...
@@ -414,11 +416,11 @@ PVOID WINAPI ImageRvaToVa(
BOOL
WINAPI
ImageUnload
(
PLOADED_IMAGE
LoadedImage
);
PAPI_VERSION
WINAPI
ImagehlpApiVersion
(
L
PAPI_VERSION
WINAPI
ImagehlpApiVersion
(
void
);
PAPI_VERSION
WINAPI
ImagehlpApiVersionEx
(
PAPI_VERSION
AppVersion
L
PAPI_VERSION
WINAPI
ImagehlpApiVersionEx
(
L
PAPI_VERSION
AppVersion
);
BOOL
WINAPI
MakeSureDirectoryPathExists
(
LPCSTR
DirPath
...
...
@@ -462,7 +464,7 @@ BOOL WINAPI SplitSymbols(
);
BOOL
WINAPI
StackWalk
(
DWORD
MachineType
,
HANDLE
hProcess
,
HANDLE
hThread
,
PSTACKFRAME
StackFrame
,
PVOID
ContextRecord
,
L
PSTACKFRAME
StackFrame
,
PVOID
ContextRecord
,
PREAD_PROCESS_MEMORY_ROUTINE
ReadMemoryRoutine
,
PFUNCTION_TABLE_ACCESS_ROUTINE
FunctionTableAccessRoutine
,
PGET_MODULE_BASE_ROUTINE
GetModuleBaseRoutine
,
...
...
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