Corrected declare statements

These functions return booleans according to the documentation
Add Win32.CurrentThreadID