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
e2659819
Commit
e2659819
authored
Mar 05, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Always define 32- and 64-bit versions of the TEB and PEB structures.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
784faaae
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
53 deletions
+0
-53
dbghelp_private.h
dlls/dbghelp/dbghelp_private.h
+0
-21
debug.c
dlls/kernelbase/debug.c
+0
-32
winternl.h
include/winternl.h
+0
-0
No files found.
dlls/dbghelp/dbghelp_private.h
View file @
e2659819
...
...
@@ -578,27 +578,6 @@ struct cpu
extern
struct
cpu
*
dbghelp_current_cpu
DECLSPEC_HIDDEN
;
/* Abbreviated 32-bit PEB */
typedef
struct
_PEB32
{
BOOLEAN
InheritedAddressSpace
;
BOOLEAN
ReadImageFileExecOptions
;
BOOLEAN
BeingDebugged
;
BOOLEAN
SpareBool
;
DWORD
Mutant
;
DWORD
ImageBaseAddress
;
DWORD
LdrData
;
DWORD
ProcessParameters
;
DWORD
SubSystemData
;
DWORD
ProcessHeap
;
DWORD
FastPebLock
;
DWORD
FastPebLockRoutine
;
DWORD
FastPebUnlockRoutine
;
ULONG
EnvironmentUpdateCount
;
DWORD
KernelCallbackTable
;
ULONG
Reserved
[
2
];
}
PEB32
;
/* dbghelp.c */
extern
struct
process
*
process_find_by_handle
(
HANDLE
hProcess
)
DECLSPEC_HIDDEN
;
extern
BOOL
validate_addr64
(
DWORD64
addr
)
DECLSPEC_HIDDEN
;
...
...
dlls/kernelbase/debug.c
View file @
e2659819
...
...
@@ -741,38 +741,6 @@ HRESULT WINAPI /* DECLSPEC_HOTPATCH */ WerUnregisterRuntimeExceptionModule( cons
***********************************************************************/
typedef
struct
_PEB32
{
BOOLEAN
InheritedAddressSpace
;
BOOLEAN
ReadImageFileExecOptions
;
BOOLEAN
BeingDebugged
;
BOOLEAN
SpareBool
;
DWORD
Mutant
;
DWORD
ImageBaseAddress
;
DWORD
LdrData
;
}
PEB32
;
typedef
struct
_LIST_ENTRY32
{
DWORD
Flink
;
DWORD
Blink
;
}
LIST_ENTRY32
;
typedef
struct
_PEB_LDR_DATA32
{
ULONG
Length
;
BOOLEAN
Initialized
;
DWORD
SsHandle
;
LIST_ENTRY32
InLoadOrderModuleList
;
}
PEB_LDR_DATA32
;
typedef
struct
_UNICODE_STRING32
{
USHORT
Length
;
USHORT
MaximumLength
;
DWORD
Buffer
;
}
UNICODE_STRING32
;
typedef
struct
_LDR_DATA_TABLE_ENTRY32
{
LIST_ENTRY32
InLoadOrderModuleList
;
...
...
include/winternl.h
View file @
e2659819
This diff is collapsed.
Click to expand it.
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