volatile DWORD dwInternalTicks = 0;
Internal counter to store Ticks. This variable is incremented in an ISR and therefore must be marked volatile to prevent the compiler optimizer from reordering code to use this value in the main context while interrupts are disabled.
Submit feedback about this site to: