Yet another function

xiaoxiao2021-03-06  66

#include

Typedef Bool (WinApi * PblockInput) (BOOL)

int main ()

{

PblockInput blockinput;

Handle Handle = LoadLibrary ("user32.dll");

BlockInput = (PBLOCKINPUT) GetProcaddress (Handle, "BlockInput");

BlockInput (True);

Printf ("raised your hands, don't move! hurry up");

Sleep (8000); / * stop here for 8 '* /

BlockInput (false);

EXITPROCESS (1);

}

Another simple huh, there is nothing special

转载请注明原文地址:https://www.9cbs.com/read-110531.html

New Post(0)