Clearly windows has control over what the switch does as it can be set to "do nothing" or various other features Microsoft believes we should be allowed to do.
The only thing that can be hacked is the registry entry where the "do nothing" entry is placed. And if Microsoft has created a way to set the registry entry to point to a program. I understand that windows may not have the programming in that concern. But it is worth asking as there are many things that can be done in registry that cannot be done through normal control panel conventions.
..... So, does anyone know if there is any functionality where a registry entry can set the physical power button behavior to trigger an app?