For what it's worth it looks like QueryPerformanceCounter is sensitive to the argument alignment. specifically the structure needs to be 4 bytes aligned on my hardware.
I stepped onto the similar...