Newbie posting for the first time, so please be forgiving. We have an external board connected to our win 10 machine. When windows is shuting down (Power off) we need to send an UDP message to the external board (i.e. an power off message). Detecting when windows powers off in user space appears to be almost impossible (we don't want to send the message if windows merely restarts). Anyway, I am exploring the possiblity to write a device driver that sends this message at D0 exit. My question is now: Is this to late when regarding other device drivers, is TCP/IP still up and running at this time? And finally do I need to develop a kernel mode device driver or is an user mode device driver enough.
Thanks in advance or any answers.