Skip to content

Add SetThreadExecutionState to Kernel32 #720

@Avalancs

Description

@Avalancs

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions