Implements reset function to Win32 demo app.