// dispmprt.h
NTSTATUS DlGetAccessRanges(
PVOID DeviceHandle,
ULONG NumRequestedResources,
PIO_RESOURCE_DESCRIPTOR RequestedResources,
ULONG NumAccessRanges,
PVIDEO_ACCESS_RANGE AccessRanges,
PVOID VendorId,
PVOID DeviceId,
PULONG Slot
);
View the official Windows Driver Kit DDI referenceNo description available.
Retrieves bus-relative configuration information and, if possible, claims these hardware resources in the registry for the caller.
DeviceHandleA handle that represents a display adapter.
NumRequestedResourcesThe number of requested resources.
RequestedResourcesThe requested resources.
NumAccessRangesThe number of access ranges.
AccessRangesThe access ranges.
VendorIdThe vendor id.
DeviceIdThe device id.
SlotThe memory slot.
This function returns NTSTATUS.