[ros-diffs] [tkreuzer] 40926: return ERROR_INVALID_FUNCTION on amd64, not ERROR_INVALID_ACCESS from VideoPortEn/DisableInterrupt. Fixes compilation of videoprt for amd64.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Fri May 15 14:11:46 CEST 2009


Author: tkreuzer
Date: Fri May 15 16:11:44 2009
New Revision: 40926

URL: http://svn.reactos.org/svn/reactos?rev=40926&view=rev
Log:
return ERROR_INVALID_FUNCTION on amd64, not ERROR_INVALID_ACCESS from VideoPortEn/DisableInterrupt. Fixes compilation of videoprt for amd64.

Modified:
    branches/ros-amd64-bringup/reactos/drivers/video/videoprt/interrupt.c

Modified: branches/ros-amd64-bringup/reactos/drivers/video/videoprt/interrupt.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/drivers/video/videoprt/interrupt.c?rev=40926&r1=40925&r2=40926&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/drivers/video/videoprt/interrupt.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/drivers/video/videoprt/interrupt.c [iso-8859-1] Fri May 15 16:11:44 2009
@@ -128,7 +128,7 @@
 #else
     /* FIXME: Function still present? If so what to use instead of HalEnableSystemInterrupt? */
     UNIMPLEMENTED;
-    return ERROR_INVALID_ACCESS;
+    return ERROR_INVALID_FUNCTION;
 #endif
 }
 
@@ -155,6 +155,6 @@
 #else
     /* FIXME: Function still present? If so what to use instead of HalDisableSystemInterrupt? */
     UNIMPLEMENTED;
-    return ERROR_INVALID_ACCESS;
+    return ERROR_INVALID_FUNCTION;
 #endif
 }



More information about the Ros-diffs mailing list