[Wine-patches] [2/2] ntoskrnl.exe: Move Io{Allocate, Get}DriverObjectExtension definitions.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пн Дек 29 15:50:21 MSK 2008


----------- следующая часть -----------
From 8bae18f74c291454c53abc1f728ebd9c64ccd6e2 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Mon, 29 Dec 2008 14:54:41 +0300
Subject: [PATCH] ntoskrnl.exe: Move Io{Allocate,Get}DriverObjectExtension definitions.

---
 dlls/ntoskrnl.exe/ntoskrnl.c |   49 +++++++++++++++++++----------------------
 1 files changed, 23 insertions(+), 26 deletions(-)

diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 0037f41..125903b 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -354,20 +354,6 @@ void WINAPI ExAcquireFastMutexUnsafe( PFAST_MUTEX FastMutex )
 
 
 /***********************************************************************
- *           IoAllocateDriverObjectExtension  (NTOSKRNL.EXE.@)
- */
-NTSTATUS WINAPI IoAllocateDriverObjectExtension( PDRIVER_OBJECT DriverObject,
-                                                 PVOID ClientIdentificationAddress,
-                                                 ULONG DriverObjectExtensionSize,
-                                                 PVOID *DriverObjectExtension )
-{
-    FIXME( "%p, %p, %u, %p\n", DriverObject, ClientIdentificationAddress,
-            DriverObjectExtensionSize, DriverObjectExtension );
-    return STATUS_NOT_IMPLEMENTED;
-}
-
-
-/***********************************************************************
  *           ExReleaseFastMutexUnsafe  (NTOSKRNL.EXE.@)
  */
 #ifdef DEFINE_FASTCALL1_ENTRYPOINT
@@ -381,18 +367,6 @@ void WINAPI ExReleaseFastMutexUnsafe( PFAST_MUTEX FastMutex )
 }
 
 
-
-/***********************************************************************
- *           IoGetDriverObjectExtension  (NTOSKRNL.EXE.@)
- */
-PVOID WINAPI IoGetDriverObjectExtension( PDRIVER_OBJECT DriverObject,
-                                         PVOID ClientIdentificationAddress )
-{
-    FIXME( "%p, %p\n", DriverObject, ClientIdentificationAddress );
-    return NULL;
-}
-
-
 /***********************************************************************
  *           IoAcquireCancelSpinLock  (NTOSKRNL.EXE.@)
  */
@@ -410,6 +384,29 @@ void WINAPI IoReleaseCancelSpinLock( KIRQL Irql )
 }
 
 /***********************************************************************
+ *           IoAllocateDriverObjectExtension  (NTOSKRNL.EXE.@)
+ */
+NTSTATUS WINAPI IoAllocateDriverObjectExtension( PDRIVER_OBJECT DriverObject,
+                                                 PVOID ClientIdentificationAddress,
+                                                 ULONG DriverObjectExtensionSize,
+                                                 PVOID *DriverObjectExtension )
+{
+    FIXME( "%p, %p, %u, %p\n", DriverObject, ClientIdentificationAddress,
+            DriverObjectExtensionSize, DriverObjectExtension );
+    return STATUS_NOT_IMPLEMENTED;
+}
+
+/***********************************************************************
+ *           IoGetDriverObjectExtension  (NTOSKRNL.EXE.@)
+ */
+PVOID WINAPI IoGetDriverObjectExtension( PDRIVER_OBJECT DriverObject,
+                                         PVOID ClientIdentificationAddress )
+{
+    FIXME( "%p, %p\n", DriverObject, ClientIdentificationAddress );
+    return NULL;
+}
+
+/***********************************************************************
  *           IoInitializeIrp  (NTOSKRNL.EXE.@)
  */
 void WINAPI IoInitializeIrp( IRP *irp, USHORT size, CCHAR stack_size )
-- 
1.6.0.2.GIT



Подробная информация о списке рассылки Wine-patches