Author: dchapyshev
Date: Mon Nov 17 05:44:31 2008
New Revision: 37394
URL:
http://svn.reactos.org/svn/reactos?rev=37394&view=rev
Log:
- Add stubs for RtlSetIoCompletionCallback
Modified:
trunk/reactos/dll/ntdll/def/ntdll_i386.def
trunk/reactos/include/ndk/rtlfuncs.h
trunk/reactos/include/ndk/rtltypes.h
trunk/reactos/lib/rtl/workitem.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] Mon Nov 17 05:44:31 2008
@@ -869,7 +869,7 @@
RtlSetGroupSecurityDescriptor@12
RtlSetHeapInformation@16
RtlSetInformationAcl@16
-;RtlSetIoCompletionCallback
+RtlSetIoCompletionCallback@12
RtlSetLastWin32Error@4
RtlSetLastWin32ErrorAndNtStatusFromNtStatus@4
;RtlSetMemoryStreamSize
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] Mon Nov 17 05:44:31 2008
@@ -2063,6 +2063,15 @@
NTSYSAPI
NTSTATUS
NTAPI
+RtlSetIoCompletionCallback(
+ IN HANDLE FileHandle,
+ IN PRTL_OVERLAPPED_COMPLETION_ROUTINE Function,
+ IN ULONG Flags
+);
+
+NTSYSAPI
+NTSTATUS
+NTAPI
RtlRegisterWait(
IN PHANDLE phNewWaitObject,
IN HANDLE hObject,
Modified: trunk/reactos/include/ndk/rtltypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/rtltypes.h?rev…
==============================================================================
--- trunk/reactos/include/ndk/rtltypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/rtltypes.h [iso-8859-1] Mon Nov 17 05:44:31 2008
@@ -403,6 +403,16 @@
IN PVOID EstablisherFrame,
IN OUT struct _CONTEXT *ContextRecord,
IN OUT PVOID DispatcherContext
+);
+
+//
+// Callback for RtlSetIoCompletionCallback
+//
+typedef VOID
+(NTAPI *PRTL_OVERLAPPED_COMPLETION_ROUTINE)(
+ ULONG,
+ ULONG,
+ PVOID
);
//
Modified: trunk/reactos/lib/rtl/workitem.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/workitem.c?rev=373…
==============================================================================
--- trunk/reactos/lib/rtl/workitem.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/workitem.c [iso-8859-1] Mon Nov 17 05:44:31 2008
@@ -879,3 +879,16 @@
return Status;
}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+NTAPI
+RtlSetIoCompletionCallback(IN HANDLE hFileHandle,
+ IN PRTL_OVERLAPPED_COMPLETION_ROUTINE Function,
+ IN ULONG Flags)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}