ReactOS  0.4.15-dev-3173-g40ee59d
ntldropts.h
Go to the documentation of this file.
1 /*
2  * PROJECT: FreeLoader
3  * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE: NT Kernel Load Options Support Functions
5  * COPYRIGHT: Copyright 2020 Hermes Belusca-Maito
6  */
7 
8 #pragma once
9 
10 PCSTR
13  OUT PULONG OptionLength OPTIONAL);
14 
15 PCSTR
18  IN PCCH OptionName,
19  IN ULONG OptNameLength,
20  OUT PULONG OptionLength OPTIONAL);
21 
22 PCSTR
25  IN PCSTR OptionName,
26  OUT PULONG OptionLength OPTIONAL);
27 
28 PCSTR
31  IN PCSTR OptionName);
32 
33 VOID
35  IN OUT PSTR LoadOptions,
38  IN PCSTR NewOptions OPTIONAL);
VOID NtLdrAddOptions(IN OUT PSTR LoadOptions, IN ULONG BufferSize, IN BOOLEAN Append, IN PCSTR NewOptions OPTIONAL)
Definition: ntldropts.c:140
#define IN
Definition: typedefs.h:39
PCSTR NtLdrGetOptionExN(IN PCSTR Options, IN PCCH OptionName, IN ULONG OptNameLength, OUT PULONG OptionLength OPTIONAL)
Definition: ntldropts.c:73
PCSTR NtLdrGetOptionEx(IN PCSTR Options, IN PCSTR OptionName, OUT PULONG OptionLength OPTIONAL)
Definition: ntldropts.c:117
static BOOL Append(LPWSTR *ppszText, DWORD *pdwTextLen, LPCWSTR pszAppendText, DWORD dwAppendLen)
Definition: text.c:26
PCSTR NtLdrGetOption(IN PCSTR Options, IN PCSTR OptionName)
Definition: ntldropts.c:128
unsigned char BOOLEAN
CONST CHAR * PCCH
Definition: ntbasedef.h:392
_In_ PWDFDEVICE_INIT _In_ PWDF_REMOVE_LOCK_OPTIONS Options
Definition: wdfdevice.h:3531
signed char * PSTR
Definition: retypes.h:7
unsigned int * PULONG
Definition: retypes.h:1
#define OUT
Definition: typedefs.h:40
unsigned int ULONG
Definition: retypes.h:1
const char * PCSTR
Definition: typedefs.h:52
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
Definition: wdfmemory.h:251
PCSTR NtLdrGetNextOption(IN OUT PCSTR *Options, OUT PULONG OptionLength OPTIONAL)
Definition: ntldropts.c:16
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68