Commit 5f1a2347 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

kernel32: Fix the size of ThreadAffinityMask to match PSDK.

parent c365747e
...@@ -392,7 +392,7 @@ BOOL WINAPI SetThreadPriorityBoost( ...@@ -392,7 +392,7 @@ BOOL WINAPI SetThreadPriorityBoost(
/********************************************************************** /**********************************************************************
* SetThreadAffinityMask (KERNEL32.@) * SetThreadAffinityMask (KERNEL32.@)
*/ */
DWORD WINAPI SetThreadAffinityMask( HANDLE hThread, DWORD dwThreadAffinityMask ) DWORD_PTR WINAPI SetThreadAffinityMask( HANDLE hThread, DWORD_PTR dwThreadAffinityMask )
{ {
NTSTATUS status; NTSTATUS status;
THREAD_BASIC_INFORMATION tbi; THREAD_BASIC_INFORMATION tbi;
......
...@@ -2004,7 +2004,7 @@ BOOL WINAPI SetSystemTime(const SYSTEMTIME*); ...@@ -2004,7 +2004,7 @@ BOOL WINAPI SetSystemTime(const SYSTEMTIME*);
BOOL WINAPI SetSystemTimeAdjustment(DWORD,BOOL); BOOL WINAPI SetSystemTimeAdjustment(DWORD,BOOL);
DWORD WINAPI SetTapeParameters(HANDLE,DWORD,LPVOID); DWORD WINAPI SetTapeParameters(HANDLE,DWORD,LPVOID);
DWORD WINAPI SetTapePosition(HANDLE,DWORD,DWORD,DWORD,DWORD,BOOL); 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 *); BOOL WINAPI SetThreadContext(HANDLE,const CONTEXT *);
DWORD WINAPI SetThreadExecutionState(EXECUTION_STATE); DWORD WINAPI SetThreadExecutionState(EXECUTION_STATE);
DWORD WINAPI SetThreadIdealProcessor(HANDLE,DWORD); DWORD WINAPI SetThreadIdealProcessor(HANDLE,DWORD);
......
...@@ -729,7 +729,7 @@ typedef struct _THREAD_BASIC_INFORMATION ...@@ -729,7 +729,7 @@ typedef struct _THREAD_BASIC_INFORMATION
NTSTATUS ExitStatus; NTSTATUS ExitStatus;
PVOID TebBaseAddress; PVOID TebBaseAddress;
CLIENT_ID ClientId; CLIENT_ID ClientId;
ULONG AffinityMask; ULONG_PTR AffinityMask;
LONG Priority; LONG Priority;
LONG BasePriority; LONG BasePriority;
} THREAD_BASIC_INFORMATION, *PTHREAD_BASIC_INFORMATION; } THREAD_BASIC_INFORMATION, *PTHREAD_BASIC_INFORMATION;
...@@ -960,7 +960,7 @@ typedef struct _PROCESS_BASIC_INFORMATION { ...@@ -960,7 +960,7 @@ typedef struct _PROCESS_BASIC_INFORMATION {
#ifdef __WINESRC__ #ifdef __WINESRC__
DWORD ExitStatus; DWORD ExitStatus;
DWORD PebBaseAddress; DWORD PebBaseAddress;
DWORD AffinityMask; DWORD_PTR AffinityMask;
DWORD BasePriority; DWORD BasePriority;
ULONG UniqueProcessId; ULONG UniqueProcessId;
ULONG InheritedFromUniqueProcessId; ULONG InheritedFromUniqueProcessId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment