Partager via


NdisCloseFile (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

VOID NdisCloseFile(
  NDIS_HANDLE FileHandle
);

Parameters

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

Return Value

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

Header ndis.h
Library ndis.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
MiniportInitialize
NdisMapFile
NdisOpenFile
NdisUnmapFile