Zebediah Figura : include: Use __atomic_exchange_n() for InterlockedExchange*() if possible.