Changeset 27214 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Mar 9, 2010 1:15:08 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 58587
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp
r27205 r27214 1991 1991 BOOLEAN Result = TRUE; 1992 1992 1993 if (DEV_MOUSE_HIDDEN((PDEVICE_EXTENSION)HwDeviceExtension)) 1993 /* Use primary device extension, because the show pointer request should be processed 1994 * in vboxUpdatePointerShape regardless of the device. */ 1995 PDEVICE_EXTENSION PrimaryExtension = ((PDEVICE_EXTENSION)HwDeviceExtension)->pPrimary; 1996 if (DEV_MOUSE_HIDDEN(PrimaryExtension)) 1994 1997 { 1995 1998 // tell the host to use the guest's pointer … … 2004 2007 Result = vboxUpdatePointerShape(&PointerAttributes, sizeof (PointerAttributes)); 2005 2008 #else 2006 Result = vboxUpdatePointerShape( (PDEVICE_EXTENSION)HwDeviceExtension, &PointerAttributes, sizeof (PointerAttributes));2009 Result = vboxUpdatePointerShape(PrimaryExtension, &PointerAttributes, sizeof (PointerAttributes)); 2007 2010 #endif /* VBOX_WITH_HGSMI */ 2008 2011 2009 2012 if (Result) 2010 DEV_SET_MOUSE_SHOWN( (PDEVICE_EXTENSION)HwDeviceExtension);2013 DEV_SET_MOUSE_SHOWN(PrimaryExtension); 2011 2014 else 2012 2015 dprintf(("VBoxVideo::ShowPointer: Could not show the hardware pointer -> fallback\n"));
Note:
See TracChangeset
for help on using the changeset viewer.