// dispmprt.h
PVOID DlAllocateCommonBuffer(
IN PVOID DeviceHandle,
IN PVP_DMA_ADAPTER DlpDmaAdapter,
IN ULONG DesiredLength,
OUT PPHYSICAL_ADDRESS LogicalAddress,
IN BOOLEAN CacheEnabled,
OUT PVOID Reserved
);
View the official Windows Driver Kit DDI referenceNo description available.
Allocates and maps a logically contiguous region of memory that is simultaneously accessible both from the processor and from a device.
DeviceHandleHandle to the device.
DlpDmaAdapterDisplay library direct memory access adapter.
DesiredLengthSpecifies the requested number of bytes of memory.
LogicalAddressPointer to a memory location that receives the logical address to be used by the adapter to access the allocated buffer.
CacheEnabledSpecifies whether the allocated memory can be cached.
ReservedIs currently ignored by the video port driver.
This function returns PVOID.