Modified: trunk/reactos/include/ndk/rtlfuncs.h
Modified: trunk/reactos/include/ndk/zwtypes.h
Modified: trunk/reactos/subsys/smss/client.c
Modified: trunk/reactos/subsys/smss/debug.c
Modified: trunk/reactos/subsys/smss/init.c
Modified: trunk/reactos/subsys/smss/initpage.c
Modified: trunk/reactos/subsys/smss/initss.c
Modified: trunk/reactos/subsys/smss/print.c
Modified: trunk/reactos/subsys/smss/smapi.c
Modified: trunk/reactos/subsys/smss/smss.c
Modified: trunk/reactos/subsys/smss/smss.h
--- trunk/reactos/include/ndk/rtlfuncs.h 2005-06-20 21:08:26 UTC (rev 16184)
+++ trunk/reactos/include/ndk/rtlfuncs.h 2005-06-20 21:16:59 UTC (rev 16185)
@@ -611,6 +611,13 @@
STDCALL
RtlLengthSid(IN PSID Sid);
+VOID
+STDCALL
+RtlMapGenericMask(
+ PACCESS_MASK AccessMask,
+ PGENERIC_MAPPING GenericMapping
+);
+
NTSTATUS
STDCALL
RtlQueryInformationAcl(
@@ -1136,6 +1143,40 @@
STDCALL
RtlAcquirePebLock(VOID);
+NTSTATUS
+STDCALL
+RtlCreateProcessParameters (
+ OUT PRTL_USER_PROCESS_PARAMETERS *ProcessParameters,
+ IN PUNICODE_STRING ImagePathName OPTIONAL,
+ IN PUNICODE_STRING DllPath OPTIONAL,
+ IN PUNICODE_STRING CurrentDirectory OPTIONAL,
+ IN PUNICODE_STRING CommandLine OPTIONAL,
+ IN PWSTR Environment OPTIONAL,
+ IN PUNICODE_STRING WindowTitle OPTIONAL,
+ IN PUNICODE_STRING DesktopInfo OPTIONAL,
+ IN PUNICODE_STRING ShellInfo OPTIONAL,
+ IN PUNICODE_STRING RuntimeInfo OPTIONAL
+);
+
+NTSTATUS
+STDCALL
+RtlCreateUserProcess(
+ IN PUNICODE_STRING ImageFileName,
+ IN ULONG Attributes,
+ IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters,
+ IN PSECURITY_DESCRIPTOR ProcessSecutityDescriptor OPTIONAL,
+ IN PSECURITY_DESCRIPTOR ThreadSecurityDescriptor OPTIONAL,
+ IN HANDLE ParentProcess OPTIONAL,
+ IN BOOLEAN CurrentDirectory,
+ IN HANDLE DebugPort OPTIONAL,
+ IN HANDLE ExceptionPort OPTIONAL,
+ OUT PRTL_PROCESS_INFO ProcessInfo
+);
+
+NTSTATUS
+STDCALL
+RtlDestroyProcessParameters(IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters);
+
VOID
STDCALL
RtlReleasePebLock(VOID);
@@ -1328,7 +1369,26 @@
/*
* PE Functions
- */
+ */
+NTSTATUS
+STDCALL
+LdrVerifyImageMatchesChecksum(
+ IN HANDLE FileHandle,
+ ULONG Unknown1,
+ ULONG Unknown2,
+ ULONG Unknown3
+);
+
+NTSTATUS
+STDCALL
+RtlFindMessage(
+ IN PVOID BaseAddress,
+ IN ULONG Type,
+ IN ULONG Language,
+ IN ULONG MessageId,
+ OUT PRTL_MESSAGE_RESOURCE_ENTRY *MessageResourceEntry
+);
+
PVOID
STDCALL
RtlImageDirectoryEntryToData(
@@ -1362,10 +1422,26 @@
/*
* Registry Functions
*/
+NTSTATUS
+STDCALL
+RtlCheckRegistryKey(
+ ULONG RelativeTo,
+ PWSTR Path
+);
+
NTSTATUS
STDCALL
RtlFormatCurrentUserKeyPath(IN OUT PUNICODE_STRING KeyPath);
+NTSTATUS
+STDCALL
+RtlpNtOpenKey(
+ OUT HANDLE KeyHandle,
+ IN ACCESS_MASK DesiredAccess,
+ IN POBJECT_ATTRIBUTES ObjectAttributes,
+ IN ULONG Unused
+);
+
NTSTATUS
STDCALL
RtlOpenCurrentUser(
@@ -1393,16 +1469,6 @@
PVOID ValueData,
ULONG ValueLength
);
-
-NTSTATUS
-STDCALL
-RtlFindMessage (
- IN PVOID BaseAddress,
- IN ULONG Type,
- IN ULONG Language,
- IN ULONG MessageId,
- OUT PRTL_MESSAGE_RESOURCE_ENTRY *MessageResourceEntry
- );
/*
* NLS Functions
--- trunk/reactos/include/ndk/zwtypes.h 2005-06-20 21:08:26 UTC (rev 16184)
+++ trunk/reactos/include/ndk/zwtypes.h 2005-06-20 21:16:59 UTC (rev 16185)
@@ -20,6 +20,8 @@
#define EVENT_READ_ACCESS 1
#define EVENT_WRITE_ACCESS 2
+#define PORT_ALL_ACCESS (0x1)
+
#define EVENT_PAIR_ALL_ACCESS (0x1F0000L)
/* ENUMERATIONS **************************************************************/
--- trunk/reactos/subsys/smss/client.c 2005-06-20 21:08:26 UTC (rev 16184)
+++ trunk/reactos/subsys/smss/client.c 2005-06-20 21:16:59 UTC (rev 16185)
@@ -23,8 +23,6 @@
*
* --------------------------------------------------------------------
*/
-#define NTOS_MODE_USER
-#include <ntos.h>
#include "smss.h"
#include <sm/helper.h>
--- trunk/reactos/subsys/smss/debug.c 2005-06-20 21:08:26 UTC (rev 16184)
+++ trunk/reactos/subsys/smss/debug.c 2005-06-20 21:16:59 UTC (rev 16185)
@@ -23,9 +23,6 @@
*
* --------------------------------------------------------------------
*/
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <rosrtl/string.h>
#include "smss.h"
#define NDEBUG
--- trunk/reactos/subsys/smss/init.c 2005-06-20 21:08:26 UTC (rev 16184)
+++ trunk/reactos/subsys/smss/init.c 2005-06-20 21:16:59 UTC (rev 16185)
@@ -23,9 +23,7 @@
*
* --------------------------------------------------------------------
*/
-
#include "smss.h"
-#include <rosrtl/string.h>
#define NDEBUG
#include <debug.h>
--- trunk/reactos/subsys/smss/initpage.c 2005-06-20 21:08:26 UTC (rev 16184)
+++ trunk/reactos/subsys/smss/initpage.c 2005-06-20 21:16:59 UTC (rev 16185)
@@ -24,8 +24,6 @@
* --------------------------------------------------------------------
*/
#include "smss.h"
-#include <rosrtl/string.h>
-#include <wchar.h>
#define NDEBUG
#include <debug.h>
--- trunk/reactos/subsys/smss/initss.c 2005-06-20 21:08:26 UTC (rev 16184)
+++ trunk/reactos/subsys/smss/initss.c 2005-06-20 21:16:59 UTC (rev 16185)
@@ -23,12 +23,8 @@
*
* --------------------------------------------------------------------
*/
-
-
#include "smss.h"
-#include <rosrtl/string.h>
-
#define NDEBUG
#include <debug.h>
--- trunk/reactos/subsys/smss/print.c 2005-06-20 21:08:26 UTC (rev 16184)
+++ trunk/reactos/subsys/smss/print.c 2005-06-20 21:16:59 UTC (rev 16185)
@@ -23,9 +23,9 @@
*
* --------------------------------------------------------------------
*/
-#define NTOS_MODE_USER
-#include <ntos.h>
+#include "smss.h"
+
VOID STDCALL DisplayString(LPCWSTR lpwString)
{
UNICODE_STRING us;
--- trunk/reactos/subsys/smss/smapi.c 2005-06-20 21:08:26 UTC (rev 16184)
+++ trunk/reactos/subsys/smss/smapi.c 2005-06-20 21:16:59 UTC (rev 16185)
@@ -5,9 +5,7 @@
* Reactos Session Manager
*
*/
-
#include "smss.h"
-#include <rosrtl/string.h>
#define NDEBUG
#include <debug.h>
--- trunk/reactos/subsys/smss/smss.c 2005-06-20 21:08:26 UTC (rev 16184)
+++ trunk/reactos/subsys/smss/smss.c 2005-06-20 21:16:59 UTC (rev 16185)
@@ -24,7 +24,6 @@
* --------------------------------------------------------------------
*/
#include "smss.h"
-#include <rosrtl/string.h>
#include <reactos/buildno.h>
#define NDEBUG
--- trunk/reactos/subsys/smss/smss.h 2005-06-20 21:08:26 UTC (rev 16184)
+++ trunk/reactos/subsys/smss/smss.h 2005-06-20 21:16:59 UTC (rev 16185)
@@ -1,8 +1,13 @@
#ifndef _SMSS_H_INCLUDED_
#define _SMSS_H_INCLUDED_
+#include <windows.h>
#define NTOS_MODE_USER
-#include <ntos.h>
+#include <ndk/ntndk.h>
+
+#include <rosrtl/string.h>
+#include <wchar.h>
+
#include <sm/api.h>
#include <sm/helper.h>