ResumeThread return value on Windows
Documentation of ResumeThread says that it will return 0 for successful call.
I was curious and looking at TThread.Resume shows that even that checks for result = 1.
Windows documentation shows that the return value is the suspend count, so it can be any value >= 0. Error is -1 as DWORD.