mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:55:41 +00:00
[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.
svn path=/trunk/; revision=45779
This commit is contained in:
parent
486e587cca
commit
4c15f8900e
1 changed files with 4 additions and 3 deletions
|
@ -187,7 +187,8 @@ IntInt10CallBios(
|
||||||
|
|
||||||
/* Detach and return status */
|
/* Detach and return status */
|
||||||
IntDetachFromCSRSS(&CallingProcess, &ApcState);
|
IntDetachFromCSRSS(&CallingProcess, &ApcState);
|
||||||
return Status;
|
if (NT_SUCCESS(Status)) return NO_ERROR;
|
||||||
|
return ERROR_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* PUBLIC FUNCTIONS ***********************************************************/
|
/* PUBLIC FUNCTIONS ***********************************************************/
|
||||||
|
@ -240,6 +241,6 @@ VideoPortInt10(
|
||||||
|
|
||||||
/* Detach from CSRSS */
|
/* Detach from CSRSS */
|
||||||
IntDetachFromCSRSS(&CallingProcess, &ApcState);
|
IntDetachFromCSRSS(&CallingProcess, &ApcState);
|
||||||
|
if (NT_SUCCESS(Status)) return NO_ERROR;
|
||||||
return Status;
|
return ERROR_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue