Convert a Null-terminated Unicode hexadecimal string to a value of type UINTN. This function returns a value of type UINTN by interpreting the contents of the Unicode string specified by String as a hexadecimal number. The format of the input Unicode string String is: [spaces][zeros][x][hexadecimal digits]. The valid hexadecimal digit character is in the range
| 786 | |
| 787 | **/ |
| 788 | UINTN |
| 789 | EFIAPI |
| 790 | StrHexToUintn ( |
| 791 | IN CONST CHAR16 *String |
| 792 | ) |
| 793 | { |
| 794 | UINTN Result = 0; |
| 795 | RETURN_STATUS Status; |
| 796 | |
| 797 | Status = StrHexToUintnS (String, (CHAR16 **) NULL, &Result); |
| 798 | if (Status != RETURN_SUCCESS) { |
| 799 | return 0; |
| 800 | } |
| 801 | return Result; |
| 802 | } |
| 803 | |
| 804 | |
| 805 | /** |
no test coverage detected