Hi Ajay,
It is possible that the hacker can access other PCs that are connected to the same network. On the other hand, hackers might not be able to access another platform such as Android and iOS as a program intended to infect your system is executable for Windows platform only.
It is advisable to run a full scan of your antivirus to keep your device secured. You can check these article for reference on how you can keep your computer safe and secure:
If you have any questions or things you'd like to clarify, feel free to ask.
Can I use Windows defender or any of these downloads on a Samsung galaxy s7 since I have outlook acct on my phone