#include "regutil.h"
Go to the source code of this file.
Defines | |
#define | RtlAllocateHeap(x, y, z) malloc(z) |
#define | RtlFreeHeap(x, y, z) free(z) |
#define | upcase(C) (WCHAR )(((C) >= 'a' && (C) <= 'z' ? (C) - ('a' - 'A') : (C))) |
#define | NUMBER_DATE_TIME_FIELDS 6 |
Functions | |
void | RegInitialize (void) |
NTSTATUS | RegReadMultiSzFile (IN PUNICODE_STRING FileName, OUT PVOID *ValueBuffer, OUT PULONG ValueLength) |
NTSTATUS | RegReadBinaryFile (IN PUNICODE_STRING FileName, OUT PVOID *ValueBuffer, OUT PULONG ValueLength) |
NTSTATUS | RegLoadAsciiFileAsUnicode (IN PUNICODE_STRING FileName, OUT PREG_UNICODE_FILE UnicodeFile) |
BOOLEAN | RegGetNextLine (IN OUT PREG_UNICODE_FILE UnicodeFile, OUT PULONG IndentAmount, OUT PWSTR *FirstEqual) |
void | RegDumpKeyValue (FILE *fh, PKEY_VALUE_FULL_INFORMATION KeyValueInformation, ULONG IndentLevel) |
BOOLEAN | RegGetMultiString (IN OUT PUNICODE_STRING ValueString, OUT PUNICODE_STRING MultiString) |
BOOLEAN | RegGetKeyValue (IN PUNICODE_STRING InitialKeyValue, IN OUT PREG_UNICODE_FILE UnicodeFile, OUT PULONG ValueType, OUT PVOID *ValueBuffer, OUT PULONG ValueLength) |
BOOLEAN | RtlPrefixUnicodeString (IN PUNICODE_STRING String1, IN PUNICODE_STRING String2, IN BOOLEAN CaseInSensitive) |
Variables | |
UNICODE_STRING | RiOnKeyword |
UNICODE_STRING | RiYesKeyword |
UNICODE_STRING | RiTrueKeyword |
UNICODE_STRING | RiOffKeyword |
UNICODE_STRING | RiNoKeyword |
UNICODE_STRING | RiFalseKeyword |
UNICODE_STRING | RiDeleteKeyword |
UNICODE_STRING | RiRegKeyword |
UNICODE_STRING | RiRegNoneKeyword |
UNICODE_STRING | RiRegSzKeyword |
UNICODE_STRING | RiRegExpandSzKeyword |
UNICODE_STRING | RiRegDwordKeyword |
UNICODE_STRING | RiRegBinaryKeyword |
UNICODE_STRING | RiRegBinaryFileKeyword |
UNICODE_STRING | RiRegLinkKeyword |
UNICODE_STRING | RiRegMultiSzKeyword |
UNICODE_STRING | RiRegMultiSzFileKeyword |
UNICODE_STRING | RiRegDateKeyword |
|
Referenced by RegGetKeyValue(). |
|
|
|
Definition at line 1006 of file config/utils/regutil.c. |
|
Definition at line 555 of file config/utils/regutil.c. References L, NULL, Size, SummaryOutput, USHORT, and ValueName. Referenced by DumpValues().
|
|
Definition at line 1096 of file config/utils/regutil.c. References FALSE, L, n, NT_SUCCESS, NTSTATUS(), NULL, NUMBER_DATE_TIME_FIELDS, RegGetMultiString(), RegGetNextLine(), RegReadBinaryFile(), RegReadMultiSzFile(), RiDeleteKeyword, RiFalseKeyword, RiNoKeyword, RiOffKeyword, RiOnKeyword, RiRegBinaryFileKeyword, RiRegBinaryKeyword, RiRegDateKeyword, RiRegDwordKeyword, RiRegExpandSzKeyword, RiRegKeyword, RiRegLinkKeyword, RiRegMultiSzFileKeyword, RiRegMultiSzKeyword, RiRegNoneKeyword, RiRegSzKeyword, RiTrueKeyword, RiYesKeyword, RtlAllocateHeap, RtlFreeHeap, RtlPrefixUnicodeString(), RtlUnicodeStringToInteger(), Status, TRUE, USHORT, and ValueBuffer. Referenced by RiInitializeRegistryFromAsciiFile().
|
|
Definition at line 1009 of file config/utils/regutil.c. References FALSE, L, and TRUE. Referenced by RegGetKeyValue(), and RegReadMultiSzFile().
|
|
Definition at line 473 of file config/utils/regutil.c. References DebugOutput, FALSE, L, NULL, and TRUE. Referenced by RegGetKeyValue(), and RiInitializeRegistryFromAsciiFile().
|
|
Definition at line 45 of file config/utils/regutil.c. References L, RiDeleteKeyword, RiFalseKeyword, RiNoKeyword, RiOffKeyword, RiOnKeyword, RiRegBinaryFileKeyword, RiRegBinaryKeyword, RiRegDateKeyword, RiRegDwordKeyword, RiRegExpandSzKeyword, RiRegKeyword, RiRegLinkKeyword, RiRegMultiSzFileKeyword, RiRegMultiSzKeyword, RiRegNoneKeyword, RiRegSzKeyword, RiTrueKeyword, RiYesKeyword, and RtlInitUnicodeString(). Referenced by main().
|
|
Definition at line 259 of file config/utils/regutil.c. References BufferSize, File, FileName, L, NT_SUCCESS, NtAllocateVirtualMemory(), NtClose(), NtFreeVirtualMemory(), NtOpenFile(), NtQueryInformationFile(), NtReadFile(), NTSTATUS(), NULL, ObjectAttributes, PREG_UNICODE_FILE, RtlAnsiCharToUnicodeChar(), Status, and TRUE. Referenced by RegReadMultiSzFile(), and RiInitializeRegistryFromAsciiFile().
|
|
Definition at line 158 of file config/utils/regutil.c. References File, FileName, FileNameBuffer, L, NT_SUCCESS, NtClose(), NtOpenFile(), NtQueryInformationFile(), NtReadFile(), NTSTATUS(), NULL, ObjectAttributes, RtlAllocateHeap, RtlFreeHeap, RtlInitUnicodeString(), Status, and ValueBuffer. Referenced by RegGetKeyValue().
|
|
Definition at line 68 of file config/utils/regutil.c. References _REG_UNICODE_FILE::EndOfFile, FileName, L, _REG_UNICODE_FILE::NextLine, NT_SUCCESS, NTSTATUS(), NULL, REG_UNICODE_FILE, RegGetMultiString(), RegLoadAsciiFileAsUnicode(), RtlAllocateHeap, RtlDosPathNameToNtPathName_U(), Status, TRUE, USHORT, and ValueBuffer. Referenced by RegGetKeyValue().
|
|
Definition at line 1460 of file config/utils/regutil.c. References FALSE, n, String1, String2, TRUE, and upcase.
|
|
Definition at line 31 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 30 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 29 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 28 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 25 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 38 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 37 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 42 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 36 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 35 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 32 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 39 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 41 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 40 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 33 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 34 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 27 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |
|
Definition at line 26 of file config/utils/regutil.c. Referenced by RegGetKeyValue(), and RegInitialize(). |