/* Return the next parameter's end from a command line string. */
CONST CHAR16* FindEndOfParameter(IN CONST CHAR16 *String)
/* Return the next parameter's end from a command line string. */
CONST CHAR16* FindEndOfParameter(IN CONST CHAR16 *String)
{
  CONST CHAR16  *First;
  CONST CHAR16  *CloseQuote;
  First = FindFirstCharacter (String, L" \"", L'^');
  if (*First == CHAR_NULL) {
    return (First);
  }
  if (*First == L' ') {
    return (First);
  }
  CloseQuote = FindFirstCharacter (First+1, L"\"", L'^');
  if (*CloseQuote == CHAR_NULL) {
    return (NULL);
  }
  return (FindEndOfParameter (CloseQuote+1));
}