各位高手帮忙看看!
LRESULT CALLBACK MouseProc(
int nCode,
WPARAM wParam,
LPARAM lParam
)
{
return 1;//返回1相当于屏蔽了鼠标消息
}SetWindowsHookEx(WH_MOUSE,MouseProc,NULL,GetCurrentThreadId());
E:\Program Files\Microsoft Visual Studio\MyProjects\InnerHook\InnerHookDlg.cpp(127) : error C2065: 'SetWindowsHookExA' : undeclared identifier
执行 cl.exe 时出错.谢谢!
LRESULT CALLBACK MouseProc(
int nCode,
WPARAM wParam,
LPARAM lParam
)
{
return 1;//返回1相当于屏蔽了鼠标消息
}SetWindowsHookEx(WH_MOUSE,MouseProc,NULL,GetCurrentThreadId());
E:\Program Files\Microsoft Visual Studio\MyProjects\InnerHook\InnerHookDlg.cpp(127) : error C2065: 'SetWindowsHookExA' : undeclared identifier
执行 cl.exe 时出错.谢谢!
#include <windows.h>