Remove rosrtl usage from usetup

svn path=/trunk/; revision=16196
This commit is contained in:
Alex Ionescu 2005-06-20 22:51:54 +00:00
parent ce068ea890
commit 4650be627f
3 changed files with 4 additions and 12 deletions

View file

@ -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,

View file

@ -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,

View file

@ -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>