Remove duplicate code by using Nt* functions for PulseEvent,
ResetEvent and SetEvent.

1 file changed