/* It is the caller's responsibility to ensure that ShellInfoObject.NewEfiShellProtocol has been initialized before calling this function. */
EFI_STATUS WriteFileTag(IN SHELL_FILE_HANDLE FileHandle)
/* It is the caller's responsibility to ensure that ShellInfoObject.NewEfiShellProtocol has been initialized before calling this function. */
EFI_STATUS WriteFileTag(IN SHELL_FILE_HANDLE FileHandle)
{
  CHAR16      FileTag;
  UINTN       Size;
  EFI_STATUS  Status;
  FileTag = gUnicodeFileTag;
  Size    = sizeof FileTag;
  Status  = ShellInfoObject.NewEfiShellProtocol->WriteFile (
                                                   FileHandle,
                                                   &Size,
                                                   &FileTag
                                                   );
  ASSERT (EFI_ERROR (Status) || Size == sizeof FileTag);
  return Status;
}