NDK_FN_GET_PRIVILEGED_MEMORY_REGION_TOKEN callback function (ndkpi.h)

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(
  [in]  NDK_PD *pNdkPd,
  [out] UINT32 *pToken
)
{...}

Parameters

[in] pNdkPd

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

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

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_PD