Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14572
6f19259b-4bc3-4df7-8a09-
765794883524
\r
@param This Points to the EFI_HII_CONFIG_ROUTING_PROTOCOL instance.\r
\r
\r
@param This Points to the EFI_HII_CONFIG_ROUTING_PROTOCOL instance.\r
\r
- @param Results A null-terminated string in <MultiConfigAltResp>\r
- format which has all values filled in for the\r
- names in the Request string.\r
- String to be allocated by this function.\r
- De-allocation is up to the caller.\r
+ @param Results Null-terminated Unicode string in\r
+ <MultiConfigAltResp> format which has all values\r
+ filled in for the entirety of the current HII \r
+ database. String to be allocated by the called \r
+ function. De-allocation is up to the caller.\r
\r
@retval EFI_SUCCESS The Results string is filled with the\r
values corresponding to all requested\r
\r
@retval EFI_SUCCESS The Results string is filled with the\r
values corresponding to all requested\r
\r
@param BlockSize The length of the Block in units of UINT8.\r
On input, this is the size of the Block. On\r
\r
@param BlockSize The length of the Block in units of UINT8.\r
On input, this is the size of the Block. On\r
- output, if successful, contains the index of\r
- the last modified byte in the Block.\r
+ output, if successful, contains the largest \r
+ index of the modified byte in the Block, or\r
+ the required buffer size if the Block is not\r
+ large enough.\r
\r
@param Progress On return, points to an element of the\r
ConfigResp string filled in with the offset\r
\r
@param Progress On return, points to an element of the\r
ConfigResp string filled in with the offset\r
@retval EFI_NOT_FOUND Target for the specified routing data was not found.\r
Progress points to the "G" in "GUID" of the errant\r
routing data.\r
@retval EFI_NOT_FOUND Target for the specified routing data was not found.\r
Progress points to the "G" in "GUID" of the errant\r
routing data.\r
+ @retval EFI_BUFFER_TOO_SMALL Block not large enough. Progress undefined. \r
+ BlockSize is updated with the required buffer size.\r
+\r
**/\r
typedef\r
EFI_STATUS\r
**/\r
typedef\r
EFI_STATUS\r
updated with a value that will\r
enable the data to fit.\r
@retval EFI_NOT_FOUND No matching handle could be found in database.\r
updated with a value that will\r
enable the data to fit.\r
@retval EFI_NOT_FOUND No matching handle could be found in database.\r
- @retval EFI_INVALID_PARAMETER Handle or HandleBufferLength was NULL.\r
+ @retval EFI_INVALID_PARAMETER HandleBufferLength was NULL.\r
+ @retval EFI_INVALID_PARAMETER The value referenced by HandleBufferLength was not\r
+ zero and Handle was NULL.\r
@retval EFI_INVALID_PARAMETER PackageType is not a EFI_HII_PACKAGE_TYPE_GUID but\r
PackageGuid is not NULL, PackageType is a EFI_HII_\r
PACKAGE_TYPE_GUID but PackageGuid is NULL.\r
@retval EFI_INVALID_PARAMETER PackageType is not a EFI_HII_PACKAGE_TYPE_GUID but\r
PackageGuid is not NULL, PackageType is a EFI_HII_\r
PACKAGE_TYPE_GUID but PackageGuid is NULL.\r
\r
@retval EFI_OUT_OF_RESOURCES BufferSize is too small to hold the package.\r
\r
\r
@retval EFI_OUT_OF_RESOURCES BufferSize is too small to hold the package.\r
\r
+ @retval EFI_NOT_FOUND The specifiecd Handle could not be found in the\r
+ current database.\r
+ \r
+ @retval EFI_INVALID_PARAMETER BufferSize was NULL.\r
+ \r
+ @retval EFI_INVALID_PARAMETER The value referenced by BufferSize was not zero \r
+ and Buffer was NULL.\r
**/\r
typedef\r
EFI_STATUS\r
**/\r
typedef\r
EFI_STATUS\r
KeyGuidBufferLength is updated\r
with a value that will enable\r
the data to fit.\r
KeyGuidBufferLength is updated\r
with a value that will enable\r
the data to fit.\r
+ @retval EFI_INVALID_PARAMETER The KeyGuidBufferLength is NULL.\r
+ @retval EFI_INVALID_PARAMETER The value referenced by \r
+ KeyGuidBufferLength is not\r
+ zero and KeyGuidBuffer is NULL.\r
+ @retval EFI_NOT_FOUND There was no keyboard layout.\r
UINTN LineWidth; ///< The width of the text on the line, in pixels.\r
\r
///\r
UINTN LineWidth; ///< The width of the text on the line, in pixels.\r
\r
///\r
- /// The number of pixels above the bottom of the row of the font baseline or 0 if none. \r
+ /// The font baseline offset in pixels from the bottom of the row, or 0 if none.\r
///\r
UINTN BaselineOffset;\r
} EFI_HII_ROW_INFO;\r
///\r
UINTN BaselineOffset;\r
} EFI_HII_ROW_INFO;\r
information about. If NULL, then the information \r
about the system default font will be returned.\r
\r
information about. If NULL, then the information \r
about the system default font will be returned.\r
\r
- @param StringInfoOut Upon return, contains the matching\r
- font's information. If NULL, then no\r
- information is returned.\r
+ @param StringInfoOut Upon return, contains the matching font's information.\r
+ If NULL, then no information is returned. This buffer\r
+ is allocated with a call to the Boot Service AllocatePool().\r
+ It is the caller's responsibility to call the Boot \r
+ Service FreePool() when the caller no longer requires\r
+ the contents of StringInfoOut.\r
\r
@param String Points to the string which will be tested to\r
determine if all characters are available. If\r
\r
@param String Points to the string which will be tested to\r
determine if all characters are available. If\r
\r
@retval EFI_SUCCESS The string was returned successfully.\r
@retval EFI_NOT_FOUND The string specified by StringId is not available.\r
\r
@retval EFI_SUCCESS The string was returned successfully.\r
@retval EFI_NOT_FOUND The string specified by StringId is not available.\r
- @retval EFI_NOT_FOUND The string specified by StringId is available but\r
- not in the specified language.\r
The specified PackageList is not in the database.\r
The specified PackageList is not in the database.\r
+ @retval EFI_INVALID_LANGUAGE The string specified by StringId is available but \r
+ not in the specified language.\r
@retval EFI_BUFFER_TOO_SMALL The buffer specified by StringSize is too small to\r
hold the string.\r
@retval EFI_BUFFER_TOO_SMALL The buffer specified by StringSize is too small to\r
hold the string.\r
- @retval EFI_INVALID_PARAMETER The String or Language or StringSize was NULL.\r
- @retval EFI_OUT_OF_RESOURCES There were insufficient resources to complete the\r
- request.\r
+ @retval EFI_INVALID_PARAMETER The Language or StringSize was NULL.\r
+ @retval EFI_INVALID_PARAMETER The value referenced by StringSize was not zero and\r
+ String was NULL.\r
+ @retval EFI_OUT_OF_RESOURCES There were insufficient resources to complete the\r
+ request.\r
the length of Languages, in bytes.\r
\r
@retval EFI_SUCCESS The languages were returned successfully.\r
the length of Languages, in bytes.\r
\r
@retval EFI_SUCCESS The languages were returned successfully.\r
- @retval EFI_INVALID_PARAMETER The Languages or LanguagesSize was NULL.\r
+ @retval EFI_INVALID_PARAMETER The LanguagesSize was NULL.\r
+ @retval EFI_INVALID_PARAMETER The value referenced by LanguagesSize is not zero\r
+ and Languages is NULL.\r
@retval EFI_BUFFER_TOO_SMALL The LanguagesSize is too small to hold the list of\r
supported languages. LanguageSize is updated to\r
contain the required size.\r
@retval EFI_BUFFER_TOO_SMALL The LanguagesSize is too small to hold the list of\r
supported languages. LanguageSize is updated to\r
contain the required size.\r
points to the length of SecondaryLanguages in bytes.\r
\r
@retval EFI_SUCCESS Secondary languages were correctly returned.\r
points to the length of SecondaryLanguages in bytes.\r
\r
@retval EFI_SUCCESS Secondary languages were correctly returned.\r
- @retval EFI_INVALID_PARAMETER PrimaryLanguage or SecondaryLanguages or\r
- SecondaryLanguagesSize was NULL.\r
+ @retval EFI_INVALID_PARAMETER PrimaryLanguage or SecondaryLanguagesSize was NULL.\r
+ @retval EFI_INVALID_PARAMETER The value referenced by SecondaryLanguagesSize is not\r
+ zero and SecondaryLanguages is NULL.\r
@retval EFI_BUFFER_TOO_SMALL The buffer specified by SecondaryLanguagesSize is\r
too small to hold the returned information.\r
SecondaryLanguageSize is updated to hold the size of\r
the buffer required.\r
@retval EFI_INVALID_LANGUAGE The language specified by PrimaryLanguage is not\r
present in the specified package list.\r
@retval EFI_BUFFER_TOO_SMALL The buffer specified by SecondaryLanguagesSize is\r
too small to hold the returned information.\r
SecondaryLanguageSize is updated to hold the size of\r
the buffer required.\r
@retval EFI_INVALID_LANGUAGE The language specified by PrimaryLanguage is not\r
present in the specified package list.\r
- @retval EFI_NOT_FOUND The specified PackageList is not in the Database. \r
+ @retval EFI_NOT_FOUND The specified PackageList is not in the Database.\r