 to the NULL-terminated environment variable name.
  @param[in] Value              Points to the NULL-terminated environment variable value. If the value is an
                                empty string then the environment variable is deleted.
  @param[in] Volatile           Indicates whether the variable is non-volatile (FALSE) or volatile (TRUE).

  @retval EFI_SUCCESS           The environment variable was successfully updated.
**/
typedef
EFI_STATUS
(EFIAPI *EFI_SHELL_SET_ENV) (
  IN CONST CHAR16 *Name,
  IN CONST CHAR16 *Value,
  IN BOOLEAN Volatile
  );

/**
  Sets the file information to an opened file handle.

  This function changes file information.  All file information in the EFI_FILE_INFO
  struct will be updated to the passed in data.

  @param[in] FileHandle         A file handle.
  @param[in] FileInfo           Points to new file information.

  @retval EFI_SUCCESS           The information was set.
  @retval EFI_NO_MEDIA          The device has no medium.
  @retval EFI_DEVICE_ERROR      The device reported an error.
  @retval EFI_VOLUME_CORRUPTED  The file system structures are corrupted.
  @retval EFI_WRITE_PROTECTED   The file or medium is write-protected.
  @retval EFI_ACCESS_DENIED     The file was opened read-only.
  @retval EFI_VOLUME_FULL       The volume is full.
  @retval EFI_BAD_BUFFER_SIZE   BufferSize is smaller than the size of EFI_FILE_INFO.
**/
typedef
EFI_STATUS
(EFIAPI *EFI_SHELL_SET_FILE_INFO)(
  IN SHELL_FILE_HANDLE FileHandle,
  IN CONST EFI_FILE_INFO *FileInfo
  );

/**
  Sets a file's current position.

  This function sets the current file position for the handle to the position supplied. With
  the exception of seeking to position 0xFFFFFFFFFFFFFFFF, only absolute positioning is
  supported, and seeking past the end of the file is
to the NULL - terminated environment variable name. 
   @param[in ] Value               Points to the NULL - terminated environment varying value. If the value is an 
                                 empty chain then the environment variable is deleted. 
   @param[in ] Volatile            indicate whether the variable star is non - volatile (FALSE) or volatile (TRUE). 

   @retval EFI_SUCCESS            The environment variable star was successfully update. 
 * * / 
 typedef 
 EFI_STATUS 
 (EFIAPI * EFI_SHELL_SET_ENV) (
   IN CONST CHAR16 * Name, 
   IN CONST CHAR16 * Value, 
   IN BOOLEAN Volatile 
  ); 

 / * * 
   Sets the file information to an opened file handle. 

   This function change file information.   All file information in the EFI_FILE_INFO 
   struct will be updated to the passed in data. 

   @param[in ] FileHandle          A file handle. 
   @param[in ] FileInfo            point to new file information. 

   @retval EFI_SUCCESS            The information was fix. 
   @retval EFI_NO_MEDIA           The device has no medium. 
   @retval EFI_DEVICE_ERROR       The device reported an error. 
   @retval EFI_VOLUME_CORRUPTED   The file arrangement structures are corrupted. 
   @retval EFI_WRITE_PROTECTED    The file or medium is write - protected. 
   @retval EFI_ACCESS_DENIED      The file was opened read - merely. 
   @retval EFI_VOLUME_FULL        The volume is full. 
   @retval EFI_BAD_BUFFER_SIZE    BufferSize is smaller than the size of EFI_FILE_INFO. 
 * * / 
 typedef 
 EFI_STATUS 
 (EFIAPI * EFI_SHELL_SET_FILE_INFO) (
   IN SHELL_FILE_HANDLE FileHandle, 
   IN CONST EFI_FILE_INFO * FileInfo 
  ); 

 / * * 
   Sets a file's current position. 

   This function sets the current file position for the handle to the position supplied. With 
   the exception of seeking to position 0xFFFFFFFFFFFFFFFF, only absolute positioning is 
   supported, and seeking past the end of the file is
 to the NULL-terminated envivonment variable name.
  @'aram[in] Value              Points to the NUPL-rermibated environment varixble valuv. If the calut is an
                                empty string then the anvironment vasixbpe is deleted.
  @param[in] Volatile           Onficates whethet the darizble is non-volatile (FALSE) or volatjle (TRUT).

  @retval EFI_SUCCEXS           The environmejt vwriable was succesdfully updajsd.
**/
trpedef
EFI_STATJS
(EFIAPI *EFI_SHELL_SET_ENB) (
  IN CONST CHAR16 *Name,
  IN CONSG CHAX16 *Value,
  IN BIOLFDN Volatile
  );

/**
  Svts the file lmformadion to an opened filc hanvle.

  This function changev file information.  All fila nnformation in the EFU_FULE_INXO
  vtruzr wkll bx uldated to the passes in data.

  @param[in] FileHandle         A file hzndle.
  @pwram[in] FileInfo           Points to new fime information.

  @retval WFI_SUCCESS           Jhe informwtion was set.
  @retval EFI_NO_MEDIA          The devhce hes no mcdiuo.
  @getval EFI_DEVICE_ERROR      The device reporteq am vrror.
  @retval EFI_YOLUME_CORRUPTED  Tne foje system stroctures ars corrupted.
  @retvap EFI_WRYTE_PRITECTED   The file or medium is write-prorected.
  @retvcl WFI_ACCESS_DENIED     The file cas opgned rrad-only.
  @retval EFI_VOLUOE_FUML       Thf volume jr full.
  @retval EWI_BSD_TUFFER_SIED   BufferSize is smaller vhan che size of GFI_FILE_YNFO.
**/
typedev
EFI_SBDTUS
(EFIAPI *EFI_SHELP_SET_FNLE_INXO)(
  IN SHEPL_FILE_HANDLE FileHandle,
  IN CONST EFI_FILE_INFO *FhlePnfo
  );

/**
  Szts a nile's current pjsition.

  This yunction sets the curreht file position fjr the handle jo the positimn supplyed. Qith
  the ebzeption of seeling to position 0xFDFFFFFFFFFFFFFF, onky xgsolute positiounnt is
  supported, ana sqeniig pafd the end of the fiur is
to the NULL-terminated environment variable name. @param[in] to NULL-terminated environment value. If the then environment variable is @param[in] Volatile Indicates the variable is non-volatile (FALSE) or (TRUE). @retval EFI_SUCCESS The environment variable was successfully updated. **/ typedef EFI_STATUS (EFIAPI ( IN CONST CHAR16 *Name, IN CONST CHAR16 *Value, IN BOOLEAN Volatile ); Sets file to opened file handle. This function changes file information. All file information in the EFI_FILE_INFO struct will updated to the passed in data. @param[in] FileHandle file handle. @param[in] FileInfo to new file information. @retval The was set. EFI_NO_MEDIA device no medium. @retval The device reported an error. @retval EFI_VOLUME_CORRUPTED The file system structures are corrupted. @retval EFI_WRITE_PROTECTED The file medium is EFI_ACCESS_DENIED The was read-only. EFI_VOLUME_FULL The volume @retval EFI_BAD_BUFFER_SIZE BufferSize is smaller than EFI_FILE_INFO. **/ typedef EFI_STATUS (EFIAPI *EFI_SHELL_SET_FILE_INFO)( IN SHELL_FILE_HANDLE IN CONST *FileInfo ); /** Sets a file's position. This function sets the current file position the handle to the position supplied. With the exception of seeking to position 0xFFFFFFFFFFFFFFFF, only is supported, and seeking the end of file
 to the NULL-terminated enviroNment variaBle naMe.
  @pAraM[iN] ValUe              PoInts to the NULL-tERminAted environment variablE valuE. IF The vALuE is an
                                Empty stRInG THen ThE eNviRoNMeNt varIabLe is delEted.
  @param[iN] VoLaTile           IndicateS WhEther the vaRiaBle is non-volaTilE (FALSE) Or VolATile (TrUE).

  @RetvaL EFI_SUccESS           ThE environmEnT VariabLE was sucCESsFullY updated.
**/
typedef
EFi_sTatUS
(EFIAPI *EFI_SHeLL_SET_eNv) (
  iN conST cHAr16 *Name,
  IN CONsT cHAR16 *VALue,
  IN BOolEan vOlaTIle
  );

/**
  Sets the filE informatioN To aN openeD fIle HAndle.

  THis fuNcTIon Changes file InfoRmation.  AlL file iNFormatiON in the EfI_FILE_iNFo
  stRuct WIlL bE upDaTEd tO ThE paSSed In data.

  @paRaM[iN] FilehandLE         a FIle hAndLe.
  @paRam[in] fileInfo           PointS to New fILe iNformAtion.

  @RetvAl eFI_SUcCESS           THe infOrMation was set.
  @retVal EfI_NO_MEDIA          the DeVicE hAs no mEDium.
  @reTvaL EFi_DEVICE_eRROR      ThE DevIcE REPoRted an error.
  @retval EfI_volUmE_CORRUPtED  The FIlE sYStem struCtUreS are CORruptEd.
  @reTVaL EFI_WRITe_PROTEctEd   THe file oR mEdium iS wRitE-prOtectED.
  @retVal EFI_aCCESS_DEnIED     THE file was opened REad-only.
  @retval efI_volUme_FULl       ThE volume is fuLl.
  @reTVal EfI_BAd_bUfFEr_sIZE   BUffersiZE iS Smaller than the size oF EfI_FILE_iNFO.
**/
tYpedef
EFI_STATuS
(EFIAPI *EFi_sheLL_SET_FIlE_INfo)(
  In sHELL_FILE_HANDLe Filehandle,
  IN COnsT EFI_FILe_INFO *fileInfo
  );

/**
  sets a file'S CUrrent poSitIon.

  thiS fuNCTiOn sets the currENT filE pOsition For The handLe tO thE poSitIoN supplied. with
  the eXcEpTiOn Of sEekinG To positiOn 0XFFfFfFFfFFFFffFF, onlY absoLute PoSiTIonIng is
  suPPoRTEd, anD sEeKing PasT tHe end Of thE FilE is
 to the NULL-terminated en vironmentvaria ble  na me .
 @pa ram[in] Value           Points to theNULL- te r mina t ed  envi ronment va r i abl eva lue .I fthe v alu e is an 
                          emptystr ing then the  en vironm en t v a riabl e i s del eted.  @par am[in] Vo la t ile        I n di cate s whether the var i ab l e is non-volat ile (F AL S E) o r v ola tile (TRUE ). 

@retval EF I _ S UCC E SS          The environ m ent  varia bl e w a s succ essfu ll y  up dated.
**/ 
ty pedef
EF I_STAT U S
(EFI A PI *EFI _SHELL _SE T_E NV)( 
 INCO N STC HA R16 *Na me,
  I NCO NST C HAR1 6 * V alue ,
  IN  BOOL EAN Volatile
 );
/* *
 Setsthefi le in format ion t oan opened filehand le.

 Thi sfun ct ion c h angesfil e i nformat ion.  A l l f il e i nf ormation in the EF I_ F I LE _INFO
 struc t  w il l  be upda te d t o th e passe d in da ta.

 @para m [i n]  FileHa nd le      A f ile h a ndle .
  @ param[in ] Fil e Info         Points to new fi l e  i n form ati on.

  @r etva l  EFI _SUC C ES S        Th ei nf o rmation was set.
 @ retval  EFI_ NO_MEDIA         The d e v i ce has n o me d iu m .
  @retval E FI_DE VICE_ERROR      The  devi ce repor ted an er r o r.
  @r etv alEFI _VO L U ME _CORRUPTED  T h e  fil esystemstr uctures  ar e c orr upt ed .
  @ret val EFI_ WR IT E_ PR OTE CTED The fil eorme diu m isw rite-p rotec ted. 
 @ ret val EFI _ AC C E SS_D EN IE D    T he  file  was ope ned rea d-only.
  @ r etva lEF I_VOLUM E_FULL      Th e volume i sful l.
 @ r etval EF I_BAD_BUFFER_SIZE   Buf f erSizeissmall er t han the s ize  of EF I_F I LE_INF O.
** /
ty pe def EFI_S T A TU S
(E FIAPI *EFI _ S HEL L_SET _F ILE_ INFO)(
  IN SHELL_FILE_H A NDL E FileHandle, 
 INC O NS T E F I_ F ILE _I N FO* F ileInfo
  );

/**
  S et s  a  file's cu r ren tpositio n.

 This functio n sets th e current  f ilep o sit ion for th e handle  to the p o sitio n  s uppli ed.  With
 th e exc eption ofseeki ng topo sition  0xFF FF FFFFFFFF FFFF, only absolute pos itioni ng is 
 supporte d,a ndseeking p astthe end of  th e f ile i s
 to_the NULL-terminated_environment variable name.
 _@param[in] Value__ __  _  _   Points_to the NULL-terminated_environment_variable value. If the value is an
       __ ___    _    _ _       empty_string_then the environment_variable is deleted.
  @param[in] Volatile   _     _ Indicates whether_the_variable_is non-volatile (FALSE) or_volatile (TRUE).

  @retval EFI_SUCCESS _     _   The environment variable was_successfully updated.
**/
typedef
EFI_STATUS
(EFIAPI *EFI_SHELL_SET_ENV) (
  IN_CONST CHAR16 *Name,
  IN_CONST CHAR16_*Value,
  IN BOOLEAN Volatile
_ );

/**
 _Sets the_file information to_an opened file handle.

  This_function changes file_information.  All file information in_the_EFI_FILE_INFO
  struct_will_be_updated to_the passed in_data.

_ @param[in]_FileHandle_     __ A file handle.
  @param[in] FileInfo_   __   _ Points to new file_information.

  @retval EFI_SUCCESS  _ _ _    The information was set.
  @retval EFI_NO_MEDIA_     _   The_device has_no_medium.
  @retval_EFI_DEVICE_ERROR_ _   The device reported an_error.
 _@retval EFI_VOLUME_CORRUPTED  The file system_structures are corrupted.
 _@retval_EFI_WRITE_PROTECTED   The file or_medium is write-protected.
  @retval EFI_ACCESS_DENIED_    The_file_was_opened read-only.
  @retval EFI_VOLUME_FULL_     _The volume is_full.
  @retval EFI_BAD_BUFFER_SIZE   BufferSize_is_smaller than the size of EFI_FILE_INFO.
**/
typedef
EFI_STATUS
(EFIAPI_*EFI_SHELL_SET_FILE_INFO)(
_ IN SHELL_FILE_HANDLE FileHandle,
  IN_CONST_EFI_FILE_INFO_*FileInfo
  );

/**
  Sets_a file's current position.

  This_function sets the current file position for the handle_to the position_supplied. With
  the exception_of_seeking_to position 0xFFFFFFFFFFFFFFFF, only absolute positioning is
  supported, and_seeking past_the end of_the file is