mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Remove rosrtl usage from usetup
svn path=/trunk/; revision=16196
This commit is contained in:
parent
ce068ea890
commit
4650be627f
3 changed files with 4 additions and 12 deletions
|
@ -604,14 +604,12 @@ BOOLEAN
|
|||
SetInstallPathValue(PUNICODE_STRING InstallPath)
|
||||
{
|
||||
OBJECT_ATTRIBUTES ObjectAttributes;
|
||||
UNICODE_STRING KeyName;
|
||||
UNICODE_STRING ValueName;
|
||||
UNICODE_STRING KeyName = RTL_CONSTANT_STRING(L"\\Registry\\Machine\\HARDWARE");
|
||||
UNICODE_STRING ValueName = RTL_CONSTANT_STRING(L"InstallPath");
|
||||
HANDLE KeyHandle;
|
||||
NTSTATUS Status;
|
||||
|
||||
/* Create the 'secret' InstallPath key */
|
||||
RtlRosInitUnicodeStringFromLiteral (&KeyName,
|
||||
L"\\Registry\\Machine\\HARDWARE");
|
||||
/* Create the 'secret' InstallPath key */
|
||||
InitializeObjectAttributes (&ObjectAttributes,
|
||||
&KeyName,
|
||||
OBJ_CASE_INSENSITIVE,
|
||||
|
@ -626,8 +624,6 @@ SetInstallPathValue(PUNICODE_STRING InstallPath)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
RtlRosInitUnicodeStringFromLiteral (&ValueName,
|
||||
L"InstallPath");
|
||||
Status = NtSetValueKey (KeyHandle,
|
||||
&ValueName,
|
||||
0,
|
||||
|
|
|
@ -3705,10 +3705,9 @@ SignalInitEvent()
|
|||
{
|
||||
NTSTATUS Status;
|
||||
OBJECT_ATTRIBUTES ObjectAttributes;
|
||||
UNICODE_STRING UnicodeString;
|
||||
UNICODE_STRING UnicodeString = RTL_CONSTANT_STRING(L"\\ReactOSInitDone");
|
||||
HANDLE ReactOSInitEvent;
|
||||
|
||||
RtlRosInitUnicodeStringFromLiteral(&UnicodeString, L"\\ReactOSInitDone");
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
&UnicodeString,
|
||||
EVENT_ALL_ACCESS,
|
||||
|
|
|
@ -42,9 +42,6 @@
|
|||
/* FIXME: Put outside of DDK */
|
||||
#include <ddk/ntddblue.h>
|
||||
|
||||
/* FIXME: KILL ROSRTL */
|
||||
#include <rosrtl/string.h>
|
||||
|
||||
/* Helper Header */
|
||||
#include <reactos/helper.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue