NDK_LOGICAL_ADDRESS_MAPPING structure (ndkpi.h)

The NDK_LOGICAL_ADDRESS_MAPPING structure contains an array of adapter logical addresses.

Syntax

typedef struct _NDK_LOGICAL_ADDRESS_MAPPING {
  PVOID               AdapterContext;
  ULONG               AdapterPageCount;
  NDK_LOGICAL_ADDRESS AdapterPageArray[1];
} NDK_LOGICAL_ADDRESS_MAPPING;

Members

AdapterContext

Reserved for the NDK provider's use. The NDK consumer must not modify this member.

AdapterPageCount

The number of entries in the array that is specified in the AdapterPageArray member.

AdapterPageArray[1]

An array of adapter logical addresses. Each logical address in the array corresponds to a page, of PAGE_SIZE bytes in length, and must be PAGE_SIZE-aligned. The array of pages correspond to a virtually contiguous memory region. The NDK_LOGICAL_ADDRESS datatype is defined as follows:

typedef PHYSICAL_ADDRESS NDK_LOGICAL_ADDRESS;

Remarks

NDK_LOGICAL_ADDRESS_MAPPING represents an adapter's view of physical memory. See NDK_FN_BUILD_LAM and NDK_FN_RELEASE_LAM for more information.

Requirements

Requirement Value
Minimum supported client None supported,Supported in NDIS 6.30 and later.
Minimum supported server Windows ServerĀ 2012
Header ndkpi.h (include Ndkpi.h)

See also

NDK_FN_BUILD_LAM

NDK_FN_RELEASE_LAM