- Fix includes in richard's driver.
authorevb <evb@svn.reactos.org>
Wed, 3 Mar 2010 08:08:07 +0000 (08:08 +0000)
committerevb <evb@svn.reactos.org>
Wed, 3 Mar 2010 08:08:07 +0000 (08:08 +0000)
- Fix wrong calling to VideoPortCreateEvent. He got parameters all mixed up~

svn path=/trunk/; revision=45781

reactos/drivers/video/miniport/vmx_svga/precomp.h
reactos/drivers/video/miniport/vmx_svga/vmx_svga.c

index 7555bc1..a8f8a82 100644 (file)
@@ -5,8 +5,8 @@
  * PURPOSE:         VMWARE SVGA-II Driver Header
  * PROGRAMMERS:     ReactOS Portable Systems Group
  */
  * PURPOSE:         VMWARE SVGA-II Driver Header
  * PROGRAMMERS:     ReactOS Portable Systems Group
  */
-#include <ntddk.h>
+
+#include <ntdef.h>
 #include <dderror.h>
 #include <miniport.h>
 #include <ntddvdeo.h>
 #include <dderror.h>
 #include <miniport.h>
 #include <ntddvdeo.h>
index 26c9da0..3c981c5 100644 (file)
@@ -112,8 +112,8 @@ VmxFindAdapter(IN PVOID HwDeviceExtension,
     
     /* Create the sync event */
     VideoPortCreateEvent(DeviceExtension,
     
     /* Create the sync event */
     VideoPortCreateEvent(DeviceExtension,
-                         SynchronizationEvent,
-                         FALSE,
+                         NOTIFICATION_EVENT,
+                         NULL,
                          &DeviceExtension->SyncEvent);
                          
     /* Check for multi-monitor configuration */
                          &DeviceExtension->SyncEvent);
                          
     /* Check for multi-monitor configuration */