Yes, there seems to be some inaccuracy. The declarations by Microsoft and ntinternals say it is a HANDLE (void*), but it is actually the ID, which is usually passed around as a DWORD.