NdisCloseFile (NDIS 5.1) function
Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
NdisCloseFile releases a handle returned by NdisOpenFile and frees the memory allocated to hold the file contents when it was opened.
Syntax
VOID NdisCloseFile(
_In_ NDIS_HANDLE FileHandle
);
Parameters
- FileHandle [in]
Specifies the handle returned in a preceding call to NdisOpenFile.
Return value
None
Remarks
For miniport drivers, calls to this function are valid only during initialization. If the MiniportInitialize function calls NdisOpenFile, it must call NdisCloseFile before it returns control.
Requirements
Target platform |
Universal |
Version |
See NdisCloseFile. |
Header |
Ndis.h (include Ndis.h) |
Library |
Ndis.lib |
IRQL |
PASSIVE_LEVEL |
See also