Fixed pointer type for OpenThreadToken and OpenProcessToken.