NDK_FN_RELEASE_LAM routine

The NdkReleaseLam (NDK_FN_RELEASE_LAM) function releases an NDK adapter logical address mapping (LAM).

Syntax


NDK_FN_RELEASE_LAM NdkReleaseLam;

VOID NdkReleaseLam(
  _In_ NDK_ADAPTER                 *pNdkAdapter,
  _In_ NDK_LOGICAL_ADDRESS_MAPPING *pNdkLAM
)
{ ... }

Parameters

pNdkAdapter [in]

A pointer to an NDK adapter object (NDK_ADAPTER).

pNdkLAM [in]

A pointer to an NDK_LOGICAL_ADDRESS_MAPPING structure that was previously initialized by calling the NdkBuildLAM (NDK_FN_BUILD_LAM) function.

Return value

None

Remarks

NdkReleaseLam releases an adapter logical address mapping (LAM). The associated MDL remains unchanged. That is, the MDL is in the same state it hand when it was passed to the NdkBuildLam (NDK_FN_BUILD_LAM) function. The NDK consumer must not release a LAM until after all of the work requests that use the LAM are completed.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Target platform

Desktop

Version

Supported in NDIS 6.30 and later.

Header

Ndkpi.h (include Ndkpi.h)

IRQL

<=DISPATCH_LEVEL

See also

NDK_ADAPTER
NDK_ADAPTER_DISPATCH
NDK_FN_BUILD_LAM
NDK_LOGICAL_ADDRESS_MAPPING

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft