unit changed to unsigned int for VS, PCH changed to PCOMH to prevent VS conflicts with winnt.h