/* Set the size of the string in characters. */
EFI_STATUS InputBarSetStringSize(UINTN Size)
/* Set the size of the string in characters. */
EFI_STATUS InputBarSetStringSize(UINTN Size)
{
  SHELL_FREE_NON_NULL (mReturnString);
  StringSize    = Size;
  mReturnString = AllocateZeroPool ((StringSize + 1) * sizeof (mReturnString[0]));
  if (mReturnString == NULL) {
    return EFI_OUT_OF_RESOURCES;
  }
  return EFI_SUCCESS;
}