Author: dchapyshev
Date: Sun Nov 23 04:02:20 2008
New Revision: 37578
URL:
http://svn.reactos.org/svn/reactos?rev=37578&view=rev
Log:
- Add stubs for RtlActivateActivationContext and RtlCreateActivationContext
Modified:
trunk/reactos/dll/ntdll/def/ntdll_i386.def
trunk/reactos/include/ndk/rtlfuncs.h
trunk/reactos/lib/rtl/actctx.c
Modified: trunk/reactos/dll/ntdll/def/ntdll_i386.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/def/ntdll_i386.d…
==============================================================================
--- trunk/reactos/dll/ntdll/def/ntdll_i386.def [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/def/ntdll_i386.def [iso-8859-1] Sun Nov 23 04:02:20 2008
@@ -435,7 +435,7 @@
RtlAcquireResourceShared@8
RtlAcquireSRWLockExclusive@4
RtlAcquireSRWLockShared@4
-;RtlActivateActivationContext
+RtlActivateActivationContext@12
;RtlActivateActivationContextEx
RtlActivateActivationContextUnsafeFast@8
RtlAddAccessAllowedAce@16
@@ -520,7 +520,7 @@
RtlCopyString@8
RtlCopyUnicodeString@8
RtlCreateAcl@12
-;RtlCreateActivationContext
+RtlCreateActivationContext@8
;RtlCreateAndSetSD
RtlCreateAtomTable@8
;RtlCreateBootStatusDataFile
Modified: trunk/reactos/include/ndk/rtlfuncs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/rtlfuncs.h?rev…
==============================================================================
--- trunk/reactos/include/ndk/rtlfuncs.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/rtlfuncs.h [iso-8859-1] Sun Nov 23 04:02:20 2008
@@ -2832,6 +2832,15 @@
#ifdef NTOS_MODE_USER
NTSYSAPI
+NTSTATUS
+NTAPI
+RtlActivateActivationContext(
+ IN ULONG Unknown,
+ IN HANDLE Handle,
+ OUT PULONG_PTR Cookie
+);
+
+NTSYSAPI
VOID
NTAPI
RtlAddRefActivationContext(
@@ -2852,6 +2861,14 @@
NTAPI
RtlAllocateActivationContextStack(
IN PVOID *Context
+);
+
+NTSYSAPI
+NTSTATUS
+NTAPI
+RtlCreateActivationContext(
+ OUT PHANDLE Handle,
+ IN OUT PVOID ReturnedData
);
NTSYSAPI
@@ -2903,10 +2920,10 @@
NTAPI
RtlFindActivationContextSectionString(
IN ULONG dwFlags,
- IN const GUID *lpExtensionGuid,
+ IN const GUID *ExtensionGuid,
IN ULONG SectionType,
IN PUNICODE_STRING SectionName,
- IN PVOID ReturnedData
+ IN OUT PVOID ReturnedData
);
NTSYSAPI
Modified: trunk/reactos/lib/rtl/actctx.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/actctx.c?rev=37578…
==============================================================================
--- trunk/reactos/lib/rtl/actctx.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/actctx.c [iso-8859-1] Sun Nov 23 04:02:20 2008
@@ -59,10 +59,10 @@
NTSTATUS
NTAPI
RtlFindActivationContextSectionString(IN ULONG dwFlags,
- IN const GUID *lpExtensionGuid,
+ IN const GUID *ExtensionGuid,
IN ULONG SectionType,
IN PUNICODE_STRING SectionName,
- IN PVOID ReturnedData)
+ IN OUT PVOID ReturnedData)
{
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
@@ -122,3 +122,19 @@
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
}
+
+NTSTATUS
+NTAPI
+RtlActivateActivationContext(IN ULONG Unknown, IN HANDLE Handle, OUT PULONG_PTR Cookie)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+NTSTATUS
+NTAPI
+RtlCreateActivationContext(OUT PHANDLE Handle, IN OUT PVOID ReturnedData)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}