26{
29 PCHAR FreeLoaderIniFileData;
33
34 TRACE(
"IniFileInitialize()\n");
35
36
39 {
40 ERR(
"Error while opening freeldr.ini, Status: %d\n",
Status);
41 UiMessageBoxCritical(
"Error opening freeldr.ini or file not found.\nYou need to re-install FreeLoader.");
43 }
44
45
48 {
49 UiMessageBoxCritical(
"Error while getting informations about freeldr.ini.\nYou need to re-install FreeLoader.");
52 }
54
55
57 if (!FreeLoaderIniFileData)
58 {
62 }
63
64
67 {
68 ERR(
"Error while reading freeldr.ini, Status: %d\n",
Status);
73 }
74
75
77
78
81
83}
ARC_STATUS ArcClose(ULONG FileId)
ARC_STATUS ArcGetFileInformation(ULONG FileId, FILEINFORMATION *Information)
ARC_STATUS FsOpenFile(IN PCSTR FileName, IN PCSTR DefaultPath OPTIONAL, IN OPENMODE OpenMode, OUT PULONG FileId)
ARC_STATUS ArcRead(ULONG FileId, VOID *Buffer, ULONG N, ULONG *Count)
FORCEINLINE PVOID FrLdrTempAlloc(_In_ SIZE_T Size, _In_ ULONG Tag)
FORCEINLINE VOID FrLdrTempFree(PVOID Allocation, ULONG Tag)
VOID UiMessageBoxCritical(_In_ PCSTR MessageText)
CCHAR FrLdrBootPath[MAX_PATH]
BOOLEAN IniParseFile(PCHAR IniFileData, ULONG IniFileSize)
static OUT PIO_STATUS_BLOCK OUT PVOID FileInformation