NDK_FN_RELEASE_LAM callback function (ndkpi.h)

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

Syntax

NDK_FN_RELEASE_LAM NdkFnReleaseLam;

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

Parameters

[in] pNdkAdapter

A pointer to an NDK adapter object (NDK_ADAPTER).

[in] 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

Requirement Value
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