[sendPostedEvents]
windows
osx
[registerTimer]
windows
osx
