Removed RegisterWaitForSingleObjectEx as it is not present in all Windows SDK versions.

[SVN r86474]