Author: sir_richard
Date: Wed Mar 3 06:22:45 2010
New Revision: 45779
URL:
http://svn.reactos.org/svn/reactos?rev=45779&view=rev
Log:
[VIDEOPRT]: <Committing on behalf of eVb> - Patch to make VideoPort INT10 Services
return VP_STATUS instead of NT_STATUS. It is not the same thing.
Modified:
trunk/reactos/drivers/video/videoprt/int10.c
Modified: trunk/reactos/drivers/video/videoprt/int10.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/videoprt/int…
==============================================================================
--- trunk/reactos/drivers/video/videoprt/int10.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/videoprt/int10.c [iso-8859-1] Wed Mar 3 06:22:45 2010
@@ -187,7 +187,8 @@
/* Detach and return status */
IntDetachFromCSRSS(&CallingProcess, &ApcState);
- return Status;
+ if (NT_SUCCESS(Status)) return NO_ERROR;
+ return ERROR_INVALID_PARAMETER;
}
/* PUBLIC FUNCTIONS ***********************************************************/
@@ -240,6 +241,6 @@
/* Detach from CSRSS */
IntDetachFromCSRSS(&CallingProcess, &ApcState);
-
- return Status;
-}
+ if (NT_SUCCESS(Status)) return NO_ERROR;
+ return ERROR_INVALID_PARAMETER;
+}