Some comments here on the expected behavior of this code, including how PROCESSOR_ARCHITECTEW6432 works on all Windows platforms would be helpful -- Windows newbies will find this quite mysterious.