PCH for SMSS, and remove rosrtl usage
Modified: trunk/reactos/subsys/smss/smapi.c
Modified: trunk/reactos/subsys/smss/smss.h
Modified: trunk/reactos/subsys/smss/smss.xml
_____
Modified: trunk/reactos/subsys/smss/smapi.c
--- trunk/reactos/subsys/smss/smapi.c 2005-07-01 01:54:55 UTC (rev
16359)
+++ trunk/reactos/subsys/smss/smapi.c 2005-07-01 02:47:15 UTC (rev
16360)
@@ -357,11 +357,9 @@
SmCreateApiPort(VOID)
{
OBJECT_ATTRIBUTES ObjectAttributes = {0};
- UNICODE_STRING UnicodeString = {0};
+ UNICODE_STRING UnicodeString =
RTL_CONSTANT_STRING(L"\\SmApiPort");
NTSTATUS Status = STATUS_SUCCESS;
- RtlRosInitUnicodeStringFromLiteral(&UnicodeString,
- L"\\SmApiPort");
InitializeObjectAttributes(&ObjectAttributes,
&UnicodeString,
PORT_ALL_ACCESS,
_____
Modified: trunk/reactos/subsys/smss/smss.h
--- trunk/reactos/subsys/smss/smss.h 2005-07-01 01:54:55 UTC (rev
16359)
+++ trunk/reactos/subsys/smss/smss.h 2005-07-01 02:47:15 UTC (rev
16360)
@@ -3,12 +3,8 @@
#include <windows.h>
#define NTOS_MODE_USER
-#define READY_FOR_NEW_NTDLL
#include <ndk/ntndk.h>
-#include <rosrtl/string.h>
-#include <wchar.h>
-
#include <sm/api.h>
#include <sm/helper.h>
_____
Modified: trunk/reactos/subsys/smss/smss.xml
--- trunk/reactos/subsys/smss/smss.xml 2005-07-01 01:54:55 UTC (rev
16359)
+++ trunk/reactos/subsys/smss/smss.xml 2005-07-01 02:47:15 UTC (rev
16360)
@@ -5,6 +5,7 @@
<library>smlib</library>
<library>ntdll</library>
<linkerflag>-lgcc</linkerflag>
+ <pch>smss.h</pch>
<file>client.c</file>
<file>debug.c</file>
<file>init.c</file>