Actual version does not work in my Windows 7 with Intel i7 S3 enabled, playing with the source code i make it work by adding the NativeMethods.ES_SYSTEM_REQUIRED flag
It will also be great to have the option to set or not the ES_DISPLAY_REQUIRED flag, so it could keep the pc awake with or without having the monitor on
Actual version does not work in my Windows 7 with Intel i7 S3 enabled, playing with the source code i make it work by adding the NativeMethods.ES_SYSTEM_REQUIRED flag
It will also be great to have the option to set or not the ES_DISPLAY_REQUIRED flag, so it could keep the pc awake with or without having the monitor on