NDK_FN_GET_LOCAL_TOKEN_FROM_MR callback function

The NdkGetLocalTokenFromMr (NDK_FN_GET_LOCAL_TOKEN_FROM_MR) function gets a memory token from a local NDK memory region (MR).

Syntax

NDK_FN_GET_LOCAL_TOKEN_FROM_MR NdkFnGetLocalTokenFromMr;

UINT32 NdkFnGetLocalTokenFromMr(
  NDK_MR *pNdkMr
)
{...}

Parameters

*pNdkMr

A pointer to an NDK memory region (MR) object (NDK_MR).

Return Value

The NdkGetLocalTokenFromMr function returns a local memory region token.

Remarks

NdkGetLocalTokenFromMr returns a local memory region token. NdkGetLocalTokenFromMr can be called after a call to the NdkRegisterMr (NDK_FN_REGISTER_MR) function or NdkInitializeFastRegisterMr (NDK_FN_INITIALIZE_FAST_REGISTER_MR) function completes without errors.

Requirements

   
Windows version None supported,Supported in NDIS 6.30 and later. Windows Server 2012
Target Platform Windows
Header ndkpi.h (include Ndkpi.h)
IRQL "<=DISPATCH_LEVEL"

See Also

NDK_FN_INITIALIZE_FAST_REGISTER_MR

NDK_FN_REGISTER_MR

NDK_MR