Inserting data into mouse stream at low level

Hi, I’m trying to find the simplest way of inserting data into the
mouse input stream, at a low enough level to be read by DirectInput.

As far as I can see a good method would be to create a VxD to use the
vmouse service “VMD_Post_Pointer_Message”, or possibly create a VxD to
call “Mouse_Event”.

I have 3 questions…

  1. These 2 methods should work on win98/ME but will they also work on
    nt/xp?
  2. Which of the 2 functions would be more suitable?
  3. Are there any other methods which I’m overlooking which would be
    simpler or work on a greater variety of windows versions?

Thanks!

> I have 3 questions…

  1. These 2 methods should work on win98/ME but will they also work
    on
    nt/xp?

No, forget about VxDs on NT OSes. Look at MOUFILTR DDK sample instead.

Max