2OOO, 14 November
NTSYSAPI NTSTATUS NTAPI
IN HANDLE ThreadHandle, OUT PULONG SuspendCount );
Handle to thread object.
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).