PCH for SMSS, and remove rosrtl usage

svn path=/trunk/; revision=16360
This commit is contained in:
Alex Ionescu 2005-07-01 02:47:15 +00:00
parent 4eb4922aad
commit 267707560d
3 changed files with 2 additions and 7 deletions

View file

@ -357,11 +357,9 @@ NTSTATUS
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,

View file

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

View file

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