Build userenv and samlib with NDK

svn path=/trunk/; revision=16173
This commit is contained in:
Alex Ionescu 2005-06-20 19:50:52 +00:00
parent a1a5cdb7ca
commit 7fdb1a2266
3 changed files with 24 additions and 8 deletions

View file

@ -1140,6 +1140,13 @@ VOID
STDCALL
RtlReleasePebLock(VOID);
NTSTATUS
STDCALL
RtlCreateEnvironment(
BOOLEAN Inherit,
PWSTR *Environment
);
NTSTATUS
STDCALL
RtlCreateUserThread(
@ -1161,6 +1168,12 @@ RtlDeNormalizeProcessParams(
IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters
);
VOID
STDCALL
RtlDestroyEnvironment(
PWSTR Environment
);
NTSTATUS
STDCALL
RtlExpandEnvironmentStrings_U(
@ -1184,6 +1197,14 @@ RtlQueryEnvironmentVariable_U(
PUNICODE_STRING Value
);
NTSTATUS
STDCALL
RtlSetEnvironmentVariable(
PWSTR *Environment,
PUNICODE_STRING Name,
PUNICODE_STRING Value
);
/*
* Critical Section/Resource Functions
*/

View file

@ -28,10 +28,9 @@
/* INCLUDES *****************************************************************/
#include <windows.h>
#include <ntos.h>
#include <ntdll/rtl.h>
#include <winerror.h>
#include <string.h>
#define NTOS_MODE_USER
#include <ndk/ntndk.h>
#include <samlib.h>

View file

@ -1,10 +1,6 @@
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <tchar.h>
#include <windows.h>
#define NTOS_MODE_USER
#include <ntos.h>
#include <ndk/ntndk.h>
#include <userenv.h>
#include "internal.h"