NtSetBootOptions

Function NtSetBootOptions 

Source
pub unsafe extern "C" fn NtSetBootOptions(
    BootOptions: PBOOT_OPTIONS,
    FieldsToChange: ULONG,
) -> NTSTATUS
Expand description

The NtSetBootOptions routine sets the boot options.

§Arguments

  • BootOptions - A pointer to a BOOT_OPTIONS structure that specifies the new boot options.
  • FieldsToChange - A bitmask that specifies which fields in the BOOT_OPTIONS structure are to be changed.

§Returns

NTSTATUS Successful or errant status.