#include "DynamiCall/prototypes.h" #include "DynamiCall/dynamic_import.h" #define DBG_MSG(x) MessageBox(NULL, x, "Debug Message", MB_OK); #define LOOP for(;;) #define CANCELLATION_POINT(x) if(x) { x=FALSE; ExitThread(0); } #define CANCELLATION_SLEEP_TIME 200 #define CANCELLATION_SLEEP(x, y) for(DWORD slc=0; slc