Partager via


NdisCloseFile (Windows CE 5.0)

Send Feedback

This function releases a handle returned by NdisOpenFile and frees the memory allocated to hold the file contents when it was opened.

VOID NdisCloseFile(NDIS_HANDLEFileHandle);

Parameters

  • FileHandle
    [in] Specifies the handle returned in a preceding call to NdisOpenFile.

Return Values

None.

Remarks

For miniports, calls to this function are valid only during initialization. If the MiniportInitialize function calls NdisOpenFile, it must call NdisCloseFile before it returns control.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
Link Library: Ndis.lib

See Also

MiniportInitialize | NdisMapFile | NdisOpenFile | NdisUnmapFile

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.