DrvMovePointer
(1)
Beste
(1)
Votre
(1)
Aram
(1)
Deviceremover
(1)
Miniport
(1)
Themouse
(1)
Scanout
(1)

cursor position

Asked By suhas
03-Feb-10 06:31 AM
can we  read the cursor position  in the driver itself

nope--This posting is provided "AS IS" with no warranties, and confers no

Doron Holan [MSFT] replied to suhas
03-Feb-10 01:02 PM
nope

--

This posting is provided "AS IS" with no warranties, and confers no rights.

It really depends.

Ivan Brugiolo [MSFT] replied to suhas
03-Feb-10 05:47 PM
It really depends.
If you are in a display driver, and according to reported capability
and system configuration, you may have a call to one of those
WDDM - DxgkDdiSetPointerPosition
XPDM -  DrvMovePointer / DrvSetPointerShape.
In any other environment, the information is not accessible.

--

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

I dont understand: Why do people need the position of themouse on the screen

Kerem Gümrükcü replied to Ivan Brugiolo [MSFT]
03-Feb-10 07:55 PM
I dont understand: Why do people need the position of the
mouse on the screen inside a driver??? This is something
that you will need in user mode with user interfaces not
inside a driver. If you want to restrict/set the pointer to
something or somewhere, then you simply write a user
mode app and leave that task to it,...

Regards

K.


--
-----------------------
Beste Gr??sse / Best regards / Votre bien devoue
Kerem G??mr??kc??
Latest Project: http://www.pro-it-education.de/software/deviceremover
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
How does this work, is not the cursor position a session thing?
Aram_Hăvărneanu replied to Ivan Brugiolo [MSFT]
04-Feb-10 06:00 AM
How does this work, is not the cursor position a session thing? What cursor
position would I get with that method? I must confess I know nothing about
the relation between the video driver and RDP, but my psychic powers tell me
that there is none.

Thanks,

--
Aram H??v??rneanu
XPDM display drivers are Session-Space drivers.
Ivan Brugiolo [MSFT] replied to Aram_Hăvărneanu
04-Feb-10 03:29 PM
XPDM display drivers are Session-Space drivers.
Only the XPDM miniport is a System-Space driver, but,
that is not cursor aware by any standardized means.

For WDDM, only the session bound to the glass terminal
can use the WDDM stack to drive a primary attached to the desktop,
so the problem is somewhat solved, because you can draw
a cursor only to a scanout surface.

--

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Post Question To EggHeadCafe