How to Add Middle Mouse Button from a VxD Using Simple Hook
Article ID: 153382
Article Last Modified on 7/22/2004
APPLIES TO
- Microsoft Win32 Device Driver Kit for Windows 2000
This article was previously published under Q153382
SUMMARY
A VxD can hook the VMD_Manipulate_Pointer_Message call using
Hook_Device_Service to modify mouse information sent in messages. But if
you just want to cause a middle button status during message updates, you
can hook a similar but simpler VMD_Set_Middle_Button call.
REFERENCES
Mouse.hlp from the DDK.
VMOUSE internal source code.
Keywords: kbhid kbinput KB153382