add windows capture support cursor capture on windows.