From a5156dcf400db5c55e4bf30cac98d1be45a22187 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 18 Aug 2005 11:47:17 +0000 Subject: [PATCH] Added a stub for NtAlertResumeThread. --- dlls/ntdll/nt.c | 9 --------- dlls/ntdll/ntdll.spec | 4 ++-- dlls/ntdll/thread.c | 22 ++++++++++++++++++++++ 3 files changed, 24 insertions(+), 11 deletions(-) diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c index d9ba0560607..ce94a2dfc0b 100644 --- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -1068,12 +1068,3 @@ ULONGLONG WINAPI VerSetConditionMask( ULONGLONG dwlConditionMask, DWORD dwTypeBi dwlConditionMask |= dwConditionMask << 0*3; return dwlConditionMask; } - -/****************************************************************************** - * NtAlertThread (NTDLL.@) - */ -NTSTATUS WINAPI NtAlertThread(HANDLE ThreadHandle) -{ - FIXME("%p\n", ThreadHandle); - return STATUS_NOT_IMPLEMENTED; -} diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec index bc7532dd50c..ccf20c591bf 100644 --- a/dlls/ntdll/ntdll.spec +++ b/dlls/ntdll/ntdll.spec @@ -101,7 +101,7 @@ # @ stub NtAddBootEntry @ stdcall NtAdjustGroupsToken(long long ptr long ptr ptr) @ stdcall NtAdjustPrivilegesToken(long long long long long long) -@ stub NtAlertResumeThread +@ stdcall NtAlertResumeThread(long ptr) @ stdcall NtAlertThread(long) @ stdcall NtAllocateLocallyUniqueId(ptr) # @ stub NtAllocateUserPhysicalPages @@ -946,7 +946,7 @@ # @ stub ZwAddBootEntry @ stdcall ZwAdjustGroupsToken(long long long long long long) NtAdjustGroupsToken @ stdcall ZwAdjustPrivilegesToken(long long long long long long) NtAdjustPrivilegesToken -@ stub ZwAlertResumeThread +@ stdcall ZwAlertResumeThread(long ptr) NtAlertResumeThread @ stdcall ZwAlertThread(long) NtAlertThread @ stdcall ZwAllocateLocallyUniqueId(ptr) NtAllocateLocallyUniqueId # @ stub ZwAllocateUserPhysicalPages diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c index 42bddadfc4a..6541711029b 100644 --- a/dlls/ntdll/thread.c +++ b/dlls/ntdll/thread.c @@ -399,6 +399,28 @@ NTSTATUS WINAPI NtResumeThread( HANDLE handle, PULONG count ) } +/****************************************************************************** + * NtAlertResumeThread (NTDLL.@) + * ZwAlertResumeThread (NTDLL.@) + */ +NTSTATUS WINAPI NtAlertResumeThread( HANDLE handle, PULONG count ) +{ + FIXME( "stub: should alert thread %p\n", handle ); + return NtResumeThread( handle, count ); +} + + +/****************************************************************************** + * NtAlertThread (NTDLL.@) + * ZwAlertThread (NTDLL.@) + */ +NTSTATUS WINAPI NtAlertThread( HANDLE handle ) +{ + FIXME( "stub: %p\n", handle ); + return STATUS_NOT_IMPLEMENTED; +} + + /****************************************************************************** * NtTerminateThread (NTDLL.@) * ZwTerminateThread (NTDLL.@)