summaryrefslogtreecommitdiff
path: root/EdkNt32Pkg/Include
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-11 06:37:39 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-11 06:37:39 +0000
commit0e7bfce8d0dc29695d0eb141f16e7976abcc5486 (patch)
tree95fe6aa7b9b40994b538b451f0c3a4fe16d0a6b4 /EdkNt32Pkg/Include
parentc271c1326b7aacf837a75407233da97d6caada34 (diff)
downloadedk2-platforms-0e7bfce8d0dc29695d0eb141f16e7976abcc5486.tar.xz
BDS code calls Hii->FindHandles() with hardcoded length.
New code provides function BdsLibGetHiiHandles() in generic BDS library, which detects actual necessary memory, allocates memory, and finds handles as output. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2216 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkNt32Pkg/Include')
-rw-r--r--EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h b/EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h
index 9abda55891..ed52085a17 100644
--- a/EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h
+++ b/EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h
@@ -379,4 +379,11 @@ SetupResetReminder (
VOID
);
+EFI_STATUS
+BdsLibGetHiiHandles (
+ IN EFI_HII_PROTOCOL *Hii,
+ IN OUT UINT16 *HandleBufferLength,
+ OUT EFI_HII_HANDLE **HiiHandles
+ );
+
#endif // _BDS_LIB_H_