mirror of
https://github.com/reactos/reactos.git
synced 2024-12-14 06:33:30 +08:00
[FREELDR] Addendum to 31a3f317
.
This commit is contained in:
parent
d7d13b3226
commit
8823a0c51e
@ -26,7 +26,7 @@ typedef struct tagDEVVTBL
|
||||
ARC_OPEN Open;
|
||||
ARC_READ Read;
|
||||
ARC_SEEK Seek;
|
||||
LPCWSTR ServiceName;
|
||||
PCWSTR ServiceName;
|
||||
} DEVVTBL;
|
||||
|
||||
#define MAX_FDS 60
|
||||
@ -43,7 +43,7 @@ ULONG FsGetNumPathParts(PCSTR Path);
|
||||
VOID FsGetFirstNameFromPath(PCHAR Buffer, PCSTR Path);
|
||||
|
||||
VOID FsRegisterDevice(CHAR* Prefix, const DEVVTBL* FuncTable);
|
||||
LPCWSTR FsGetServiceName(ULONG FileId);
|
||||
PCWSTR FsGetServiceName(ULONG FileId);
|
||||
VOID FsSetDeviceSpecific(ULONG FileId, VOID* Specific);
|
||||
VOID* FsGetDeviceSpecific(ULONG FileId);
|
||||
ULONG FsGetDeviceId(ULONG FileId);
|
||||
|
@ -385,7 +385,7 @@ VOID FsRegisterDevice(CHAR* Prefix, const DEVVTBL* FuncTable)
|
||||
InsertHeadList(&DeviceListHead, &pNewEntry->ListEntry);
|
||||
}
|
||||
|
||||
LPCWSTR FsGetServiceName(ULONG FileId)
|
||||
PCWSTR FsGetServiceName(ULONG FileId)
|
||||
{
|
||||
if (FileId >= MAX_FDS || !FileData[FileId].FuncTable)
|
||||
return NULL;
|
||||
|
@ -112,7 +112,7 @@ WinLdrInitSystemHive(
|
||||
IN BOOLEAN Setup);
|
||||
|
||||
BOOLEAN WinLdrScanSystemHive(IN OUT PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||
IN PCSTR DirectoryPath);
|
||||
IN PCSTR SystemRoot);
|
||||
|
||||
// winldr.c
|
||||
VOID
|
||||
@ -129,9 +129,9 @@ WinLdrLoadNLSData(IN OUT PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||
IN PCSTR LanguageFileName);
|
||||
BOOLEAN
|
||||
WinLdrAddDriverToList(LIST_ENTRY *BootDriverListHead,
|
||||
LPWSTR RegistryPath,
|
||||
LPWSTR ImagePath,
|
||||
LPWSTR ServiceName);
|
||||
PWSTR RegistryPath,
|
||||
PWSTR ImagePath,
|
||||
PWSTR ServiceName);
|
||||
|
||||
VOID
|
||||
WinLdrpDumpMemoryDescriptors(PLOADER_PARAMETER_BLOCK LoaderBlock);
|
||||
|
@ -106,7 +106,7 @@ WinLdrLoadSystemHive(
|
||||
Success = WinLdrAddDriverToList(&LoaderBlock->BootDriverListHead,
|
||||
L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\",
|
||||
NULL,
|
||||
(LPWSTR)FsService);
|
||||
(PWSTR)FsService);
|
||||
if (!Success)
|
||||
TRACE(" Failed to add filesystem service\n");
|
||||
}
|
||||
@ -490,13 +490,13 @@ WinLdrScanRegistry(IN OUT PLIST_ENTRY BootDriverListHead,
|
||||
{
|
||||
LONG rc = 0;
|
||||
HKEY hGroupKey, hOrderKey, hServiceKey, hDriverKey;
|
||||
LPWSTR GroupNameBuffer;
|
||||
PWSTR GroupNameBuffer;
|
||||
WCHAR ServiceName[256];
|
||||
ULONG OrderList[128];
|
||||
ULONG BufferSize;
|
||||
ULONG Index;
|
||||
ULONG TagIndex;
|
||||
LPWSTR GroupName;
|
||||
PWSTR GroupName;
|
||||
|
||||
ULONG ValueSize;
|
||||
ULONG ValueType;
|
||||
@ -773,9 +773,9 @@ InsertInBootDriverList(
|
||||
|
||||
BOOLEAN
|
||||
WinLdrAddDriverToList(LIST_ENTRY *BootDriverListHead,
|
||||
LPWSTR RegistryPath,
|
||||
LPWSTR ImagePath,
|
||||
LPWSTR ServiceName)
|
||||
PWSTR RegistryPath,
|
||||
PWSTR ImagePath,
|
||||
PWSTR ServiceName)
|
||||
{
|
||||
PBOOT_DRIVER_LIST_ENTRY BootDriverEntry;
|
||||
NTSTATUS Status;
|
||||
|
Loading…
Reference in New Issue
Block a user