kernel32: Fix the size of ThreadAffinityMask to match PSDK.

This commit is contained in:
Dmitry Timoshkov 2007-05-21 22:12:50 +09:00 committed by Alexandre Julliard
parent c365747e11
commit 5f1a234731
3 changed files with 4 additions and 4 deletions

View File

@ -392,7 +392,7 @@ BOOL WINAPI SetThreadPriorityBoost(
/**********************************************************************
* SetThreadAffinityMask (KERNEL32.@)
*/
DWORD WINAPI SetThreadAffinityMask( HANDLE hThread, DWORD dwThreadAffinityMask )
DWORD_PTR WINAPI SetThreadAffinityMask( HANDLE hThread, DWORD_PTR dwThreadAffinityMask )
{
NTSTATUS status;
THREAD_BASIC_INFORMATION tbi;

View File

@ -2004,7 +2004,7 @@ BOOL WINAPI SetSystemTime(const SYSTEMTIME*);
BOOL WINAPI SetSystemTimeAdjustment(DWORD,BOOL);
DWORD WINAPI SetTapeParameters(HANDLE,DWORD,LPVOID);
DWORD WINAPI SetTapePosition(HANDLE,DWORD,DWORD,DWORD,DWORD,BOOL);
DWORD WINAPI SetThreadAffinityMask(HANDLE,DWORD);
DWORD_PTR WINAPI SetThreadAffinityMask(HANDLE,DWORD_PTR);
BOOL WINAPI SetThreadContext(HANDLE,const CONTEXT *);
DWORD WINAPI SetThreadExecutionState(EXECUTION_STATE);
DWORD WINAPI SetThreadIdealProcessor(HANDLE,DWORD);

View File

@ -729,7 +729,7 @@ typedef struct _THREAD_BASIC_INFORMATION
NTSTATUS ExitStatus;
PVOID TebBaseAddress;
CLIENT_ID ClientId;
ULONG AffinityMask;
ULONG_PTR AffinityMask;
LONG Priority;
LONG BasePriority;
} THREAD_BASIC_INFORMATION, *PTHREAD_BASIC_INFORMATION;
@ -960,7 +960,7 @@ typedef struct _PROCESS_BASIC_INFORMATION {
#ifdef __WINESRC__
DWORD ExitStatus;
DWORD PebBaseAddress;
DWORD AffinityMask;
DWORD_PTR AffinityMask;
DWORD BasePriority;
ULONG UniqueProcessId;
ULONG InheritedFromUniqueProcessId;