Build smss with NDK

svn path=/trunk/; revision=16185
This commit is contained in:
Alex Ionescu 2005-06-20 21:16:59 +00:00
parent c618c35523
commit 9eea30f8b3
11 changed files with 87 additions and 30 deletions

View file

@ -611,6 +611,13 @@ ULONG
STDCALL
RtlLengthSid(IN PSID Sid);
VOID
STDCALL
RtlMapGenericMask(
PACCESS_MASK AccessMask,
PGENERIC_MAPPING GenericMapping
);
NTSTATUS
STDCALL
RtlQueryInformationAcl(
@ -1136,6 +1143,40 @@ VOID
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 @@ RtlSetBits (
/*
* 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 @@ RtlImageRvaToSection(
/*
* 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 @@ RtlWriteRegistryValue(
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

View file

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

View file

@ -23,8 +23,6 @@
*
* --------------------------------------------------------------------
*/
#define NTOS_MODE_USER
#include <ntos.h>
#include "smss.h"
#include <sm/helper.h>

View file

@ -23,9 +23,6 @@
*
* --------------------------------------------------------------------
*/
#define NTOS_MODE_USER
#include <ntos.h>
#include <rosrtl/string.h>
#include "smss.h"
#define NDEBUG

View file

@ -23,9 +23,7 @@
*
* --------------------------------------------------------------------
*/
#include "smss.h"
#include <rosrtl/string.h>
#define NDEBUG
#include <debug.h>

View file

@ -24,8 +24,6 @@
* --------------------------------------------------------------------
*/
#include "smss.h"
#include <rosrtl/string.h>
#include <wchar.h>
#define NDEBUG
#include <debug.h>

View file

@ -23,12 +23,8 @@
*
* --------------------------------------------------------------------
*/
#include "smss.h"
#include <rosrtl/string.h>
#define NDEBUG
#include <debug.h>

View file

@ -23,8 +23,8 @@
*
* --------------------------------------------------------------------
*/
#define NTOS_MODE_USER
#include <ntos.h>
#include "smss.h"
VOID STDCALL DisplayString(LPCWSTR lpwString)
{

View file

@ -5,9 +5,7 @@
* Reactos Session Manager
*
*/
#include "smss.h"
#include <rosrtl/string.h>
#define NDEBUG
#include <debug.h>

View file

@ -24,7 +24,6 @@
* --------------------------------------------------------------------
*/
#include "smss.h"
#include <rosrtl/string.h>
#include <reactos/buildno.h>
#define NDEBUG

View file

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