End Google Ads 201810 - BS.net 01 --> Dear All,
This is my first time to ask question on this platform.
The question is: I want to write a program, which can modify the mouse position to achieve inverting mouse movement, like wanna move up but it goes down. wanna move left but it goes right.

here is the callback sample code, but I can get what I want.
What can I do?
LRESULT CALLBACK MouseHookProc2(int nCode, WPARAM wParam, LPARAM lParam){ if(wParam == WM_MOUSEMOVE ||wParam == WM_NCMOUSEMOVE) { MOUSEHOOKSTRUCT* data=(MOUSEHOOKSTRUCT*) lParam; LPARAM lParam2= MAKELPARAM(0,data->pt.y); return CallNextHookEx(NULL,nCode,wParam,lParam2); }return CallNextHookEx(NULL,nCode,wParam,lParam);}