NDK_FN_GET_PRIVILEGED_MEMORY_REGION_TOKEN routine

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 NdkGetPrivilegedMemoryRegionToken;

VOID NdkGetPrivilegedMemoryRegionToken(
  _In_   NDK_PD *pNdkPd,
  _Out_  UINT32 *pToken
)
{ ... }

Parameters

pNdkPd [in]

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

pToken [out]

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

Minimum supported server

Windows Server 2012

Version

Supported in NDIS 6.30 and later.

Header

Ndkpi.h (include Ndkpi.h)

IRQL

<=DISPATCH_LEVEL

See also

NDK_PD

 

 

Send comments about this topic to Microsoft

표시:
© 2014 Microsoft