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/ma…
==============================================================================
--- 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;
}