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
7f0b1049
Commit
7f0b1049
authored
Sep 12, 2000
by
Uwe Bonnes
Committed by
Alexandre Julliard
Sep 12, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use tpXXX instead of tbXXX in tagTHREADENTRY32.
parent
5e14b079
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
info.c
debugger/info.c
+1
-1
toolhelp.c
dlls/kernel/toolhelp.c
+2
-2
tlhelp32.h
include/tlhelp32.h
+2
-2
No files found.
debugger/info.c
View file @
7f0b1049
...
@@ -481,7 +481,7 @@ void DEBUG_WalkThreads(void)
...
@@ -481,7 +481,7 @@ void DEBUG_WalkThreads(void)
if
(
entry
.
th32OwnerProcessID
!=
GetCurrentProcessId
())
if
(
entry
.
th32OwnerProcessID
!=
GetCurrentProcessId
())
DEBUG_Printf
(
DBG_CHN_MESG
,
"%08lx %08lx %4ld%s
\n
"
,
DEBUG_Printf
(
DBG_CHN_MESG
,
"%08lx %08lx %4ld%s
\n
"
,
entry
.
th32ThreadID
,
entry
.
th32OwnerProcessID
,
entry
.
th32ThreadID
,
entry
.
th32OwnerProcessID
,
entry
.
t
b
BasePri
,
(
entry
.
th32ThreadID
==
current
)
?
" <=="
:
""
);
entry
.
t
p
BasePri
,
(
entry
.
th32ThreadID
==
current
)
?
" <=="
:
""
);
ok
=
Thread32Next
(
snap
,
&
entry
);
ok
=
Thread32Next
(
snap
,
&
entry
);
}
}
CloseHandle
(
snap
);
CloseHandle
(
snap
);
...
...
dlls/kernel/toolhelp.c
View file @
7f0b1049
...
@@ -234,8 +234,8 @@ static BOOL TOOLHELP_Thread32Next( HANDLE handle, LPTHREADENTRY32 lpte, BOOL fir
...
@@ -234,8 +234,8 @@ static BOOL TOOLHELP_Thread32Next( HANDLE handle, LPTHREADENTRY32 lpte, BOOL fir
lpte
->
cntUsage
=
req
->
count
;
lpte
->
cntUsage
=
req
->
count
;
lpte
->
th32ThreadID
=
(
DWORD
)
req
->
tid
;
lpte
->
th32ThreadID
=
(
DWORD
)
req
->
tid
;
lpte
->
th32OwnerProcessID
=
(
DWORD
)
req
->
pid
;
lpte
->
th32OwnerProcessID
=
(
DWORD
)
req
->
pid
;
lpte
->
t
b
BasePri
=
req
->
base_pri
;
lpte
->
t
p
BasePri
=
req
->
base_pri
;
lpte
->
t
b
DeltaPri
=
req
->
delta_pri
;
lpte
->
t
p
DeltaPri
=
req
->
delta_pri
;
lpte
->
dwFlags
=
0
;
/* SDK: "reserved; do not use" */
lpte
->
dwFlags
=
0
;
/* SDK: "reserved; do not use" */
}
}
}
}
...
...
include/tlhelp32.h
View file @
7f0b1049
...
@@ -28,8 +28,8 @@ typedef struct tagTHREADENTRY32
...
@@ -28,8 +28,8 @@ typedef struct tagTHREADENTRY32
DWORD
cntUsage
;
DWORD
cntUsage
;
DWORD
th32ThreadID
;
DWORD
th32ThreadID
;
DWORD
th32OwnerProcessID
;
DWORD
th32OwnerProcessID
;
LONG
t
b
BasePri
;
LONG
t
p
BasePri
;
LONG
t
b
DeltaPri
;
LONG
t
p
DeltaPri
;
DWORD
dwFlags
;
DWORD
dwFlags
;
}
THREADENTRY32
,
*
PTHREADENTRY32
,
*
LPTHREADENTRY32
;
}
THREADENTRY32
,
*
PTHREADENTRY32
,
*
LPTHREADENTRY32
;
...
...
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