Swap Mouse Keys – “C” code
It is a simple piece of code but every effective and annoying....!
It will just swap out the keys of your mouse :p
Prank your friends with it:p
Compile using any 32 bit “C” compiler.
C code:
[javascript]
//coded by raviraj;
#include<windows.h>
int main()
{
BOOL bOldState;
SystemParametersInfo(SPI_SETMOUSEBUTTONSWAP,TRUE,bOldState, 0);
}
[/javascript]
Save with .c extension and compile it .You need a 32-bit compiler like Devc and visual C++.
Run the .exe generated ,you will not be able to copy and paste any thing!!try:)
Happy coding!
You can even Download .exe
Solution:To change it ,set parameter as FALSE and execute,else change in mouse properties from control panel.
Tags: C coding, Virus
Subscribe to:
Post Comments (Atom)
Share your views...
0 Respones to "Swap Mouse Keys – “C” code"
Post a Comment