#include <windows.h> | |
unsigned long int NTAPI NtDelayExecution(char, PLARGE_INTEGER); | |
int usleep(unsigned long int useconds){ | |
LARGE_INTEGER Interval; | |
Interval.QuadPart = -(unsigned long long int)useconds * 10; | |
return NtDelayExecution (0, &Interval); | |
} | |
unsigned int sleep(unsigned int seconds){ | |
usleep(seconds * 1000000); | |
return 0; | |
} | |
int DllMain(){ | |
return 1; | |
} |