From 7c2757c298b40f5d7bad8da3faff7bb9c47ce2ae Mon Sep 17 00:00:00 2001 From: Suqiang Ren Date: Wed, 3 Jan 2024 10:19:56 +0800 Subject: MdePkg: Update the comments of callback in EFI_FORM_BROWSER2_PROTOCOL Add status code return for BROWSER callback in EFI_FORM_BROWSER2_PROTOCOL to align with UEFI spec 2.10. REF: UEFI spec 2.10 section 35.6.3 Signed-off-by: Suqiang Ren Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Reviewed-by: Liming Gao Reviewed-by: Felix Polyudov --- MdePkg/Include/Protocol/FormBrowser2.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'MdePkg') diff --git a/MdePkg/Include/Protocol/FormBrowser2.h b/MdePkg/Include/Protocol/FormBrowser2.h index 436a7723c1..bc214caa7d 100644 --- a/MdePkg/Include/Protocol/FormBrowser2.h +++ b/MdePkg/Include/Protocol/FormBrowser2.h @@ -138,10 +138,13 @@ EFI_STATUS @retval EFI_SUCCESS The results have been distributed or are awaiting distribution. - @retval EFI_OUT_OF_RESOURCES The ResultsDataSize specified + @retval EFI_BUFFER_TOO_SMALL The ResultsDataSize specified was too small to contain the results data. + @retval EFI_UNSUPPORTED Uncommitted browser state is not available + at the current stage of execution. + **/ typedef EFI_STATUS -- cgit v1.2.3