NDK_LOGICAL_ADDRESS_MAPPING - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndkpi.h

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

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ndkpi-_ndk_logical_address_mapping)

_NDK_LOGICAL_ADDRESS_MAPPING structure

Description

The NDK_LOGICAL_ADDRESS_MAPPING structure contains an array of adapter logical addresses.

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

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.

See also

NDK_FN_BUILD_LAM

NDK_FN_RELEASE_LAM