// dispmprt.h
VP_STATUS DlMapMemory(
IN PVOID DeviceHandle,
IN PHYSICAL_ADDRESS TranslatedAddress,
IN OUT PULONG Length,
IN PULONG InIoSpace,
IN OUT PVOID *VirtualAddress
);
View the official Windows Driver Kit DDI referenceNo description available.
Maps a range of bus-relative physical addresses of display memory into system space or into the virtual address space of a user-mode process.
DeviceHandleA handle that represents a display adapter.
TranslatedAddressThe bus-relative base address of the range to map.
LengthOn input, specifies the number of bytes of memory to map.
InIoSpacePointer to a variable that indicates the location of the range.
VirtualAddressPointer to a variable that, on input, is either NULL or a handle to a user-mode process.
This function returns VP_STATUS.