From 7f0b10495391c8addcf54c4ce59dbcc2bf13c07b Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Tue, 12 Sep 2000 23:36:18 +0000 Subject: [PATCH] Use tpXXX instead of tbXXX in tagTHREADENTRY32. --- debugger/info.c | 2 +- dlls/kernel/toolhelp.c | 4 ++-- include/tlhelp32.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/debugger/info.c b/debugger/info.c index a91e3235fcb..2df7ac8291d 100644 --- a/debugger/info.c +++ b/debugger/info.c @@ -481,7 +481,7 @@ void DEBUG_WalkThreads(void) if (entry.th32OwnerProcessID != GetCurrentProcessId()) DEBUG_Printf(DBG_CHN_MESG, "%08lx %08lx %4ld%s\n", entry.th32ThreadID, entry.th32OwnerProcessID, - entry.tbBasePri, (entry.th32ThreadID == current) ? " <==" : "" ); + entry.tpBasePri, (entry.th32ThreadID == current) ? " <==" : "" ); ok = Thread32Next( snap, &entry ); } CloseHandle( snap ); diff --git a/dlls/kernel/toolhelp.c b/dlls/kernel/toolhelp.c index 077308cc314..9844ec94392 100644 --- a/dlls/kernel/toolhelp.c +++ b/dlls/kernel/toolhelp.c @@ -234,8 +234,8 @@ static BOOL TOOLHELP_Thread32Next( HANDLE handle, LPTHREADENTRY32 lpte, BOOL fir lpte->cntUsage = req->count; lpte->th32ThreadID = (DWORD)req->tid; lpte->th32OwnerProcessID = (DWORD)req->pid; - lpte->tbBasePri = req->base_pri; - lpte->tbDeltaPri = req->delta_pri; + lpte->tpBasePri = req->base_pri; + lpte->tpDeltaPri = req->delta_pri; lpte->dwFlags = 0; /* SDK: "reserved; do not use" */ } } diff --git a/include/tlhelp32.h b/include/tlhelp32.h index 797aa7f3c5c..355c6c24e23 100644 --- a/include/tlhelp32.h +++ b/include/tlhelp32.h @@ -28,8 +28,8 @@ typedef struct tagTHREADENTRY32 DWORD cntUsage; DWORD th32ThreadID; DWORD th32OwnerProcessID; - LONG tbBasePri; - LONG tbDeltaPri; + LONG tpBasePri; + LONG tpDeltaPri; DWORD dwFlags; } THREADENTRY32, *PTHREADENTRY32, *LPTHREADENTRY32;