NDK_FN_GET_PRIVILEGED_MEMORY_REGION_TOKEN callback function

The NdkGetPrivilegedMemoryRegionToken (NDK_FN_GET_PRIVILEGED_MEMORY_REGION_TOKEN) function gets an NDK privileged memory region token.

Syntax

NDK_FN_GET_PRIVILEGED_MEMORY_REGION_TOKEN NdkFnGetPrivilegedMemoryRegionToken;

void NdkFnGetPrivilegedMemoryRegionToken(
  NDK_PD *pNdkPd,
  UINT32 *pToken
)
{...}

Parameters

*pNdkPd

A pointer to an NDK protection domain (PD) object (NDK_PD).

*pToken

A memory token value is returned in this location.

Return Value

None

Remarks

NdkGetPrivilegedMemoryRegionToken gets a privileged memory region token value that allows adapter logical addresses to be used directly without memory registration. This token must provide LOCAL_READ and LOCAL_WRITE access. A provider must never allow remote access for the privileged memory region token.

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_PD