mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 04:03:56 +00:00
PCH for SMSS, and remove rosrtl usage
svn path=/trunk/; revision=16360
This commit is contained in:
parent
4eb4922aad
commit
267707560d
3 changed files with 2 additions and 7 deletions
|
@ -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,
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue