NDK_FN_RELEASE_LAM callback function

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

Syntax

NDK_FN_RELEASE_LAM NdkFnReleaseLam;

void NdkFnReleaseLam(
  NDK_ADAPTER *pNdkAdapter,
  NDK_LOGICAL_ADDRESS_MAPPING *pNdkLAM
)
{...}

Parameters

*pNdkAdapter

A pointer to an NDK adapter object (NDK_ADAPTER).

*pNdkLAM

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,Supported in NDIS 6.30 and later.
Minimum supported server Windows Server 2012
Target Platform Windows
Header ndkpi.h (include Ndkpi.h)
IRQL "<=DISPATCH_LEVEL"

See Also

NDK_ADAPTER

NDK_ADAPTER_DISPATCH

NDK_FN_BUILD_LAM

NDK_LOGICAL_ADDRESS_MAPPING