mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:40:59 +00:00
kernel32: Fix the size of ThreadAffinityMask to match PSDK.
This commit is contained in:
parent
c365747e11
commit
5f1a234731
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue