Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

DLL.CallFunction problem

$
0
0
I want to call the function 'SetThreadExecutionState' from kernel32 for prevent standby o hibernation system.

The call to kernel32 function is the following, but without a positive result, the systema enters standby

DLL.CallFunction("kernel32.dll", "SetThreadExecutionState","\"".."ES_CONTINUOUS or ES_SYSTEM_REQUIRED or ES_DISPLAY_REQUIRED".."\"", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);

Viewing all articles
Browse latest Browse all 2105

Trending Articles