I would like to request the addition of the function SetThreadExecutionState from Kernel32.dll to the winapi in JNA.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa373208(v=vs.85).aspx
This function makes it very easy to prevent windows from going to sleep/hibernation while for example a download is going on in the target application.
I would like to request the addition of the function SetThreadExecutionState from Kernel32.dll to the winapi in JNA.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa373208(v=vs.85).aspx
This function makes it very easy to prevent windows from going to sleep/hibernation while for example a download is going on in the target application.