BiSetBootOptions

INT64 __stdcall BiSetBootOptions(){
  NTSTATUS v0; 
  int v1; 
  __int64 v3; 
  v3 = 0i64;
  v0 = BiAcquirePrivilege(0x16u, (__int64)&v3);
  if( v0 >= 0 )
  {
    ZwSetBootOptions();
    v0 = v1;
    if( v1 < 0 )
      BiLogMessage();
    BiReleasePrivilege((__int64)&v3);
  }
  return(unsigned int)v0;
}

Referenced by:

BiExportEfiBootManager