mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
Changed name to conform with kernel naming convention
svn path=/trunk/; revision=714
This commit is contained in:
parent
a0570e7cbe
commit
bff71dc524
4 changed files with 8 additions and 8 deletions
|
@ -116,7 +116,7 @@ NTSTATUS LdrLoadImage(HANDLE ProcessHandle,
|
||||||
* Locate and open NTDLL to determine ImageBase
|
* Locate and open NTDLL to determine ImageBase
|
||||||
* and LdrStartup
|
* and LdrStartup
|
||||||
*/
|
*/
|
||||||
GetSystemDirectory(TmpNameBuffer, sizeof TmpNameBuffer);
|
LdrGetSystemDirectory(TmpNameBuffer, sizeof TmpNameBuffer);
|
||||||
wcscat(TmpNameBuffer, L"\\ntdll.dll");
|
wcscat(TmpNameBuffer, L"\\ntdll.dll");
|
||||||
RtlInitUnicodeString(&DllPathname, TmpNameBuffer);
|
RtlInitUnicodeString(&DllPathname, TmpNameBuffer);
|
||||||
InitializeObjectAttributes(&FileObjectAttributes,
|
InitializeObjectAttributes(&FileObjectAttributes,
|
||||||
|
@ -540,7 +540,7 @@ NTSTATUS LdrLoadInitialProcess (VOID)
|
||||||
* Get the system directory's name (a DOS device
|
* Get the system directory's name (a DOS device
|
||||||
* alias name which is in \\??\\).
|
* alias name which is in \\??\\).
|
||||||
*/
|
*/
|
||||||
GetSystemDirectory(TmpNameBuffer, sizeof TmpNameBuffer);
|
LdrGetSystemDirectory(TmpNameBuffer, sizeof TmpNameBuffer);
|
||||||
// wcscat(TmpNameBuffer, L"\\shell.exe");
|
// wcscat(TmpNameBuffer, L"\\shell.exe");
|
||||||
wcscat(TmpNameBuffer, L"\\smss.exe");
|
wcscat(TmpNameBuffer, L"\\smss.exe");
|
||||||
RtlInitUnicodeString(&ProcessName, TmpNameBuffer);
|
RtlInitUnicodeString(&ProcessName, TmpNameBuffer);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: loader.c,v 1.32 1999/10/07 23:36:24 ekohl Exp $
|
/* $Id: loader.c,v 1.33 1999/10/20 23:09:26 rex Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -171,7 +171,7 @@ LdrLoadAutoConfigDriver (
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
UNICODE_STRING DriverName;
|
UNICODE_STRING DriverName;
|
||||||
|
|
||||||
GetSystemDirectory(
|
LdrGetSystemDirectory(
|
||||||
TmpFileName,
|
TmpFileName,
|
||||||
(MAX_PATH * sizeof(WCHAR))
|
(MAX_PATH * sizeof(WCHAR))
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: syspath.c,v 1.2 1999/10/07 23:36:25 ekohl Exp $
|
/* $Id: syspath.c,v 1.3 1999/10/20 23:09:26 rex Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
* 19990717 (EA)
|
* 19990717 (EA)
|
||||||
*/
|
*/
|
||||||
LPWSTR
|
LPWSTR
|
||||||
GetSystemDirectory (
|
LdrGetSystemDirectory (
|
||||||
LPWSTR SystemDirectoryName,
|
LPWSTR SystemDirectoryName,
|
||||||
DWORD Size
|
DWORD Size
|
||||||
)
|
)
|
||||||
|
@ -53,7 +53,7 @@ GetSystemDirectory (
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
DbgPrint("GetSystemDirectory() failed\n");
|
DbgPrint("LdrGetSystemDirectory() failed\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
LPWSTR
|
LPWSTR
|
||||||
GetSystemDirectory (
|
LdrGetSystemDirectory (
|
||||||
LPWSTR SystemDirectoryName,
|
LPWSTR SystemDirectoryName,
|
||||||
DWORD Size
|
DWORD Size
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue