mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 12:23:31 +00:00
- Uncomment the NdisUnmapFile call in NdisCloseFile
- Found by Dmitry Chapyshev svn path=/trunk/; revision=40161
This commit is contained in:
@@ -116,6 +116,19 @@ NdisMapFile(
|
||||
*Status = STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
EXPORT
|
||||
NdisUnmapFile(
|
||||
IN NDIS_HANDLE FileHandle)
|
||||
{
|
||||
PNDIS_HANDLE_OBJECT HandleObject = (PNDIS_HANDLE_OBJECT) FileHandle;
|
||||
|
||||
HandleObject->Mapped = FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
@@ -134,10 +147,8 @@ NdisCloseFile(
|
||||
|
||||
ASSERT ( FileHandleObject->FileHandle );
|
||||
|
||||
/*
|
||||
if ( FileHandleObject->Mapped )
|
||||
NdisUnmapFile ( FileHandle );
|
||||
*/
|
||||
|
||||
ZwClose ( FileHandleObject->FileHandle );
|
||||
|
||||
@@ -253,20 +264,6 @@ NdisSystemProcessorCount(
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
EXPORT
|
||||
NdisUnmapFile(
|
||||
IN NDIS_HANDLE FileHandle)
|
||||
{
|
||||
PNDIS_HANDLE_OBJECT HandleObject = (PNDIS_HANDLE_OBJECT) FileHandle;
|
||||
|
||||
HandleObject->Mapped = FALSE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user