[VIDEOPRT]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 16 Jul 2010 19:20:49 +0000 (19:20 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 16 Jul 2010 19:20:49 +0000 (19:20 +0000)
Merge r40926 from amd64 branch:
return ERROR_INVALID_FUNCTION on amd64, not ERROR_INVALID_ACCESS from VideoPortEn/DisableInterrupt. Fixes compilation of videoprt for amd64.

svn path=/trunk/; revision=48088

reactos/drivers/video/videoprt/interrupt.c

index b15ebdf..64d41e4 100644 (file)
@@ -137,7 +137,7 @@ VideoPortEnableInterrupt(IN PVOID HwDeviceExtension)
 #else
     /* FIXME: Function still present? If so what to use instead of HalEnableSystemInterrupt? */
     UNIMPLEMENTED;
-    return ERROR_INVALID_ACCESS;
+    return ERROR_INVALID_FUNCTION;
 #endif
 }
 
@@ -168,6 +168,6 @@ VideoPortDisableInterrupt(IN PVOID HwDeviceExtension)
 #else
     /* FIXME: Function still present? If so what to use instead of HalDisableSystemInterrupt? */
     UNIMPLEMENTED;
-    return ERROR_INVALID_ACCESS;
+    return ERROR_INVALID_FUNCTION;
 #endif
 }