[Wine-patches] [eterhack 5/7] ntoskrnl.exe: Remove wine_complete_request.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Чт Мар 26 19:53:59 MSK 2009


---
 dlls/ntoskrnl.exe/ntoskrnl.c        |   15 +++------------
 dlls/ntoskrnl.exe/ntoskrnl.exe.spec |    1 -
 2 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index ba7b51c..8897568 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -1891,9 +1891,9 @@ NTSTATUS WINAPI IoRegisterShutdownNotification( PDEVICE_OBJECT obj )
 
 
 /***********************************************************************
- *           wine_complete_request   (Not a Windows API)
+ *           IoCompleteRequest   (NTOSKRNL.EXE.@)
  */
-void CDECL wine_complete_request( IRP *irp, UCHAR priority_boost )
+void WINAPI IoCompleteRequest( IRP *irp, UCHAR priority_boost )
 {
     IO_STACK_LOCATION *irpsp;
     PIO_COMPLETION_ROUTINE routine;
@@ -1968,15 +1968,6 @@ void CDECL wine_complete_request( IRP *irp, UCHAR priority_boost )
 
 
 /***********************************************************************
- *           IoCompleteRequest   (NTOSKRNL.EXE.@)
- */
-void WINAPI IoCompleteRequest( IRP *irp, UCHAR priority_boost )
-{
-    return wine_complete_request( irp, priority_boost );
-}
-
-
-/***********************************************************************
  *           IofCompleteRequest   (NTOSKRNL.EXE.@)
  */
 #ifdef DEFINE_FASTCALL2_ENTRYPOINT
@@ -1986,7 +1977,7 @@ void WINAPI __regs_IofCompleteRequest( IRP *irp, UCHAR priority_boost )
 void WINAPI IofCompleteRequest( IRP *irp, UCHAR priority_boost )
 #endif
 {
-    return wine_complete_request( irp, priority_boost );
+    return IoCompleteRequest( irp, priority_boost );
 }
 
 
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index db8f12f..99aeced 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -1489,7 +1489,6 @@
 # or 'wine_' (for user-visible functions) to avoid namespace conflicts.
 
 @ cdecl wine_ntoskrnl_main_loop(long)
-@ cdecl wine_complete_request(ptr long)
 @ cdecl __wine_add_device(ptr ptr)
 @ cdecl __wine_add_driver_object(ptr wstr)
 @ cdecl __wine_del_driver_object(ptr)
-- 
1.6.1.3.GIT



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