Bewerken

Delen via


NDK_FN_GET_REMOTE_TOKEN_FROM_MR callback function (ndkpi.h)

The NdkGetRemoteTokenFromMr (NDK_FN_GET_REMOTE_TOKEN_FROM_MR) function gets a memory token from a remote NDK memory region (MR).

Syntax

NDK_FN_GET_REMOTE_TOKEN_FROM_MR NdkFnGetRemoteTokenFromMr;

UINT32 NdkFnGetRemoteTokenFromMr(
  [in] NDK_MR *pNdkMr
)
{...}

Parameters

[in] pNdkMr

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

Return value

The NdkGetRemoteTokenFromMr function returns a local memory region token.

Remarks

NdkGetRemoteTokenFromMr can be called after an NdkRegisterMr (NDK_FN_REGISTER_MR) or NdkInitializeFastRegisterMr (NDK_FN_INITIALIZE_FAST_REGISTER_MR) call is 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_FN_INITIALIZE_FAST_REGISTER_MR

NDK_FN_REGISTER_MR

NDK_MR