From 8a67d804b3b660b233ba58e24fee81c76786001b Mon Sep 17 00:00:00 2001 From: vanjeff Date: Tue, 7 Apr 2009 02:29:49 +0000 Subject: return value not follow spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8028 6f19259b-4bc3-4df7-8a09-765794883524 --- Nt32Pkg/WinNtGopDxe/WinNtGopInput.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Nt32Pkg') diff --git a/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c b/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c index e9866740ce..ccf75f5fce 100644 --- a/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c +++ b/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c @@ -786,7 +786,6 @@ WinNtGopSimpleTextInExUnregisterKeyNotify ( Returns: EFI_SUCCESS - The notification function was unregistered successfully. EFI_INVALID_PARAMETER - The NotificationHandle is invalid. - EFI_NOT_FOUND - Can not find the matching entry in database. --*/ { @@ -825,7 +824,7 @@ WinNtGopSimpleTextInExUnregisterKeyNotify ( // // Can not find the specified Notification Handle // - return EFI_NOT_FOUND; + return EFI_INVALID_PARAMETER; } /** -- cgit v1.2.3