Convert a Null-terminated Unicode decimal 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 decimal number. The format of the input Unicode string String is: [spaces] [decimal digits]. The valid decimal digit character is in the range [0-9]. The function
| 684 | |
| 685 | **/ |
| 686 | UINTN |
| 687 | EFIAPI |
| 688 | StrDecimalToUintn ( |
| 689 | IN CONST CHAR16 *String |
| 690 | ) |
| 691 | { |
| 692 | UINTN Result = 0; |
| 693 | RETURN_STATUS Status; |
| 694 | |
| 695 | Status = StrDecimalToUintnS (String, (CHAR16 **) NULL, &Result); |
| 696 | if (Status != RETURN_SUCCESS) { |
| 697 | return 0; |
| 698 | } |
| 699 | return Result; |
| 700 | } |
| 701 | |
| 702 | |
| 703 | /** |
no test coverage detected