Undocumented functions of NTDLL

2OOO, 14 November


NtAlertResumeThread
NtAlertResumeThread

NTSYSAPI 
NTSTATUS
NTAPI

NtAlertResumeThread(
IN HANDLE ThreadHandle, OUT PULONG SuspendCount );


ThreadHandle
Handle to thread object.
SuspendCount
Returns number of suspend request for thread ThreadHandle before call NtAlertResumeThread. If this number is 0,
thread will continue execution.

Difference between AlertResumeThread and ResumeThread it's the first one sets Thread Object to alerted state (so before thread will continue execution, all APC will be executed).


Documented by:
Tomasz Nowak
Reactos



Requirements:
Library: ntdll.lib


See also:
NtCreateThread
NtOpenThread
NtResumeThread
NtSuspendThread