- Update to r53061
[reactos.git] / drivers / video / videoprt / agp.c
index 768e6d9..54bef7d 100644 (file)
@@ -20,8 +20,6 @@
  */
 
 #include "videoprt.h"
-#include <initguid.h>
-#include <wdmguid.h>
 
 /* PRIVATE FUNCTIONS **********************************************************/
 
@@ -29,7 +27,7 @@ NTSTATUS
 IopInitiatePnpIrp(
   PDEVICE_OBJECT DeviceObject,
   PIO_STATUS_BLOCK IoStatusBlock,
-  ULONG MinorFunction,
+  UCHAR MinorFunction,
   PIO_STACK_LOCATION Stack OPTIONAL)
 {
   PDEVICE_OBJECT TopDeviceObject;
@@ -56,8 +54,8 @@ IopInitiatePnpIrp(
     IoStatusBlock);
 
   /* PNP IRPs are always initialized with a status code of
-     STATUS_NOT_IMPLEMENTED */
-  Irp->IoStatus.Status = STATUS_NOT_IMPLEMENTED;
+     STATUS_NOT_SUPPORTED */
+  Irp->IoStatus.Status = STATUS_NOT_SUPPORTED;
   Irp->IoStatus.Information = 0;
 
   IrpSp = IoGetNextIrpStackLocation(Irp);