Bewerken

Delen via


NDK_FN_GET_LOCAL_TOKEN_FROM_MR callback function (ndkpi.h)

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(
  [in] NDK_MR *pNdkMr
)
{...}

Parameters

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

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_FN_INITIALIZE_FAST_REGISTER_MR

NDK_FN_REGISTER_MR

NDK_MR