mirror of
https://github.com/reactos/reactos.git
synced 2024-06-21 05:21:31 +00:00
![Hermès Bélusca-Maïto](/assets/img/avatar_default.png)
at runtime from the boot selection menu or from FREELDR.INI. CORE-17350, CORE-9023 For a proper override of the options by new user options, specify the /SIFOPTIONSOVERRIDE switch in addition. Otherwise, user options are merged with those retrieved from TXTSETUP.SIF, with priority given to the former ones. - Update the documentation for the 'ReactOSSetup' OS type in the FREELDR.INI file template. - Use a different prompt in the custom boot options editor for the 'ReactOSSetup' OS type, with adequate explanation. - Get rid of the ReactOS-specific TXTSETUP.SIF 'DbgOsLoadOptions' value, and use instead the Windows-compatible 'SetupDebugOptions' value that is added to the other load options when debugging is to be enabled.
39 lines
768 B
C
39 lines
768 B
C
/*
|
|
* PROJECT: FreeLoader
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
|
* PURPOSE: NT Kernel Load Options Support Functions
|
|
* COPYRIGHT: Copyright 2020 Hermes Belusca-Maito
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
PCSTR
|
|
NtLdrGetNextOption(
|
|
IN OUT PCSTR* Options,
|
|
OUT PULONG OptionLength OPTIONAL);
|
|
|
|
PCSTR
|
|
NtLdrGetOptionExN(
|
|
IN PCSTR Options,
|
|
IN PCCH OptionName,
|
|
IN ULONG OptNameLength,
|
|
OUT PULONG OptionLength OPTIONAL);
|
|
|
|
PCSTR
|
|
NtLdrGetOptionEx(
|
|
IN PCSTR Options,
|
|
IN PCSTR OptionName,
|
|
OUT PULONG OptionLength OPTIONAL);
|
|
|
|
PCSTR
|
|
NtLdrGetOption(
|
|
IN PCSTR Options,
|
|
IN PCSTR OptionName);
|
|
|
|
VOID
|
|
NtLdrAddOptions(
|
|
IN OUT PSTR LoadOptions,
|
|
IN ULONG BufferSize,
|
|
IN BOOLEAN Append,
|
|
IN PCSTR NewOptions OPTIONAL);
|