mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:22:58 +00:00
Build userenv and samlib with NDK
svn path=/trunk/; revision=16173
This commit is contained in:
parent
a1a5cdb7ca
commit
7fdb1a2266
3 changed files with 24 additions and 8 deletions
|
@ -1140,6 +1140,13 @@ VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
RtlReleasePebLock(VOID);
|
RtlReleasePebLock(VOID);
|
||||||
|
|
||||||
|
NTSTATUS
|
||||||
|
STDCALL
|
||||||
|
RtlCreateEnvironment(
|
||||||
|
BOOLEAN Inherit,
|
||||||
|
PWSTR *Environment
|
||||||
|
);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
STDCALL
|
||||||
RtlCreateUserThread(
|
RtlCreateUserThread(
|
||||||
|
@ -1161,6 +1168,12 @@ RtlDeNormalizeProcessParams(
|
||||||
IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters
|
IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters
|
||||||
);
|
);
|
||||||
|
|
||||||
|
VOID
|
||||||
|
STDCALL
|
||||||
|
RtlDestroyEnvironment(
|
||||||
|
PWSTR Environment
|
||||||
|
);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
STDCALL
|
||||||
RtlExpandEnvironmentStrings_U(
|
RtlExpandEnvironmentStrings_U(
|
||||||
|
@ -1184,6 +1197,14 @@ RtlQueryEnvironmentVariable_U(
|
||||||
PUNICODE_STRING Value
|
PUNICODE_STRING Value
|
||||||
);
|
);
|
||||||
|
|
||||||
|
NTSTATUS
|
||||||
|
STDCALL
|
||||||
|
RtlSetEnvironmentVariable(
|
||||||
|
PWSTR *Environment,
|
||||||
|
PUNICODE_STRING Name,
|
||||||
|
PUNICODE_STRING Value
|
||||||
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Critical Section/Resource Functions
|
* Critical Section/Resource Functions
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -28,10 +28,9 @@
|
||||||
/* INCLUDES *****************************************************************/
|
/* INCLUDES *****************************************************************/
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <ntos.h>
|
|
||||||
#include <ntdll/rtl.h>
|
|
||||||
#include <winerror.h>
|
#include <winerror.h>
|
||||||
#include <string.h>
|
#define NTOS_MODE_USER
|
||||||
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
#include <samlib.h>
|
#include <samlib.h>
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
#include <stdarg.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <tchar.h>
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ntos.h>
|
#include <ndk/ntndk.h>
|
||||||
#include <userenv.h>
|
#include <userenv.h>
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue