#ifdef HOOKDLL_API #else #define HOOKDLL_API extern "C" __declspec(dllimport) #endif #include HOOKDLL_API int SetHook(HWND, UINT); HOOKDLL_API int UnsetHook();