summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-16 08:53:03 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-16 08:53:03 +0000
commit9c6595dca0fc1985a4170fa5503a7132d3445ac8 (patch)
treeac9c975187898d05118fcef78caea574ab153d05
parentcd3d9a851ba7fac1b761c02acedb310b65fc2604 (diff)
downloadedk2-9c6595dca0fc1985a4170fa5503a7132d3445ac8.tar.gz
edk2-9c6595dca0fc1985a4170fa5503a7132d3445ac8.tar.bz2
edk2-9c6595dca0fc1985a4170fa5503a7132d3445ac8.zip
Correct comments for NULL return value of HiiLib HiiAddPackages().
Signed-off-by: lgao4 Reviewed-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12366 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Include/Library/HiiLib.h4
-rw-r--r--MdeModulePkg/Library/UefiHiiLib/HiiLib.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Include/Library/HiiLib.h b/MdeModulePkg/Include/Library/HiiLib.h
index 25729c6d71..7860ccbfc4 100644
--- a/MdeModulePkg/Include/Library/HiiLib.h
+++ b/MdeModulePkg/Include/Library/HiiLib.h
@@ -1,7 +1,7 @@
/** @file
Public include file for the HII Library
-Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
@@ -48,7 +48,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
to packages terminated by a NULL.
@retval NULL An HII Handle has already been registered in the HII Database with
- the same PackageListGuid.
+ the same PackageListGuid and DeviceHandle.
@retval NULL The HII Handle could not be created.
@retval NULL An empty list of packages was passed in.
@retval NULL All packages are empty.
diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
index 7e93df9ada..ea347fd82a 100644
--- a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
+++ b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
@@ -1,7 +1,7 @@
/** @file
HII Library implementation that uses DXE protocols and services.
- Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -129,7 +129,7 @@ InternalHiiExtractGuidFromHiiHandle (
to packages terminated by a NULL.
@retval NULL A HII Handle has already been registered in the HII Database with
- the same PackageListGuid.
+ the same PackageListGuid and DeviceHandle.
@retval NULL The HII Handle could not be created.
@retval NULL An empty list of packages was passed in.
@retval NULL All packages are empty.