Declaration:
unsigned long LastMessageLong;
LastMessageInt keeps the 32-bit parameter received by the WaitGetMessage function.