[ros-diffs] [cgutman] 40411: - Use ZwClose instead of NtClose

cgutman at svn.reactos.org cgutman at svn.reactos.org
Tue Apr 7 06:22:40 CEST 2009


Author: cgutman
Date: Tue Apr  7 08:22:39 2009
New Revision: 40411

URL: http://svn.reactos.org/svn/reactos?rev=40411&view=rev
Log:
 - Use ZwClose instead of NtClose

Modified:
    trunk/reactos/drivers/network/afd/afd/main.c

Modified: trunk/reactos/drivers/network/afd/afd/main.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/main.c?rev=40411&r1=40410&r2=40411&view=diff
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/main.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/main.c [iso-8859-1] Tue Apr  7 08:22:39 2009
@@ -222,12 +222,12 @@
         FCB->RemoteAddress = NULL;
     }
     if( FCB->Connection.Object ) {
-	NtClose(FCB->Connection.Handle);
+	ZwClose(FCB->Connection.Handle);
 	ObDereferenceObject(FCB->Connection.Object);
         FCB->Connection.Object = NULL;
     }
     if( FCB->AddressFile.Object ) {
-	NtClose(FCB->AddressFile.Handle);
+	ZwClose(FCB->AddressFile.Handle);
 	ObDereferenceObject(FCB->AddressFile.Object);
         FCB->AddressFile.Object = NULL;
     }



More information about the Ros-diffs mailing list