mirror of
https://github.com/reactos/reactos.git
synced 2024-08-02 09:30:55 +00:00
Build smss with NDK
svn path=/trunk/; revision=16185
This commit is contained in:
parent
c618c35523
commit
9eea30f8b3
|
@ -611,6 +611,13 @@ ULONG
|
||||||
STDCALL
|
STDCALL
|
||||||
RtlLengthSid(IN PSID Sid);
|
RtlLengthSid(IN PSID Sid);
|
||||||
|
|
||||||
|
VOID
|
||||||
|
STDCALL
|
||||||
|
RtlMapGenericMask(
|
||||||
|
PACCESS_MASK AccessMask,
|
||||||
|
PGENERIC_MAPPING GenericMapping
|
||||||
|
);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
STDCALL
|
||||||
RtlQueryInformationAcl(
|
RtlQueryInformationAcl(
|
||||||
|
@ -1136,6 +1143,40 @@ VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
RtlAcquirePebLock(VOID);
|
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
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
RtlReleasePebLock(VOID);
|
RtlReleasePebLock(VOID);
|
||||||
|
@ -1328,7 +1369,26 @@ RtlSetBits (
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* PE Functions
|
* 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
|
PVOID
|
||||||
STDCALL
|
STDCALL
|
||||||
RtlImageDirectoryEntryToData(
|
RtlImageDirectoryEntryToData(
|
||||||
|
@ -1362,10 +1422,26 @@ RtlImageRvaToSection(
|
||||||
/*
|
/*
|
||||||
* Registry Functions
|
* Registry Functions
|
||||||
*/
|
*/
|
||||||
|
NTSTATUS
|
||||||
|
STDCALL
|
||||||
|
RtlCheckRegistryKey(
|
||||||
|
ULONG RelativeTo,
|
||||||
|
PWSTR Path
|
||||||
|
);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
STDCALL
|
||||||
RtlFormatCurrentUserKeyPath(IN OUT PUNICODE_STRING KeyPath);
|
RtlFormatCurrentUserKeyPath(IN OUT PUNICODE_STRING KeyPath);
|
||||||
|
|
||||||
|
NTSTATUS
|
||||||
|
STDCALL
|
||||||
|
RtlpNtOpenKey(
|
||||||
|
OUT HANDLE KeyHandle,
|
||||||
|
IN ACCESS_MASK DesiredAccess,
|
||||||
|
IN POBJECT_ATTRIBUTES ObjectAttributes,
|
||||||
|
IN ULONG Unused
|
||||||
|
);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
STDCALL
|
||||||
RtlOpenCurrentUser(
|
RtlOpenCurrentUser(
|
||||||
|
@ -1393,16 +1469,6 @@ RtlWriteRegistryValue(
|
||||||
PVOID ValueData,
|
PVOID ValueData,
|
||||||
ULONG ValueLength
|
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
|
* NLS Functions
|
||||||
|
|
|
@ -20,6 +20,8 @@
|
||||||
#define EVENT_READ_ACCESS 1
|
#define EVENT_READ_ACCESS 1
|
||||||
#define EVENT_WRITE_ACCESS 2
|
#define EVENT_WRITE_ACCESS 2
|
||||||
|
|
||||||
|
#define PORT_ALL_ACCESS (0x1)
|
||||||
|
|
||||||
#define EVENT_PAIR_ALL_ACCESS (0x1F0000L)
|
#define EVENT_PAIR_ALL_ACCESS (0x1F0000L)
|
||||||
|
|
||||||
/* ENUMERATIONS **************************************************************/
|
/* ENUMERATIONS **************************************************************/
|
||||||
|
|
|
@ -23,8 +23,6 @@
|
||||||
*
|
*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ntos.h>
|
|
||||||
#include "smss.h"
|
#include "smss.h"
|
||||||
#include <sm/helper.h>
|
#include <sm/helper.h>
|
||||||
|
|
||||||
|
|
|
@ -23,9 +23,6 @@
|
||||||
*
|
*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ntos.h>
|
|
||||||
#include <rosrtl/string.h>
|
|
||||||
#include "smss.h"
|
#include "smss.h"
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
|
|
|
@ -23,9 +23,7 @@
|
||||||
*
|
*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "smss.h"
|
#include "smss.h"
|
||||||
#include <rosrtl/string.h>
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
|
@ -24,8 +24,6 @@
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#include "smss.h"
|
#include "smss.h"
|
||||||
#include <rosrtl/string.h>
|
|
||||||
#include <wchar.h>
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
|
@ -23,12 +23,8 @@
|
||||||
*
|
*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "smss.h"
|
#include "smss.h"
|
||||||
|
|
||||||
#include <rosrtl/string.h>
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
*
|
*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#define NTOS_MODE_USER
|
#include "smss.h"
|
||||||
#include <ntos.h>
|
|
||||||
|
|
||||||
VOID STDCALL DisplayString(LPCWSTR lpwString)
|
VOID STDCALL DisplayString(LPCWSTR lpwString)
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,9 +5,7 @@
|
||||||
* Reactos Session Manager
|
* Reactos Session Manager
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "smss.h"
|
#include "smss.h"
|
||||||
#include <rosrtl/string.h>
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#include "smss.h"
|
#include "smss.h"
|
||||||
#include <rosrtl/string.h>
|
|
||||||
#include <reactos/buildno.h>
|
#include <reactos/buildno.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
#ifndef _SMSS_H_INCLUDED_
|
#ifndef _SMSS_H_INCLUDED_
|
||||||
#define _SMSS_H_INCLUDED_
|
#define _SMSS_H_INCLUDED_
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ntos.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
|
#include <rosrtl/string.h>
|
||||||
|
#include <wchar.h>
|
||||||
|
|
||||||
#include <sm/api.h>
|
#include <sm/api.h>
|
||||||
#include <sm/helper.h>
|
#include <sm/helper.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue