You can't share Wi-Fi passwords from Mac or iPhone to Windows. The only way is to remember the password and share it directly.