mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
- Uncomment the NdisUnmapFile call in NdisCloseFile
- Found by Dmitry Chapyshev svn path=/trunk/; revision=40161
This commit is contained in:
parent
58949e1e63
commit
f4aa76fc47
1 changed files with 13 additions and 16 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue