DlGetAccessRanges function (dispmprt.h)

Retrieves bus-relative configuration information and, if possible, claims these hardware resources in the registry for the caller.

Syntax

NTSTATUS DlGetAccessRanges(
  PVOID                   DeviceHandle,
  ULONG                   NumRequestedResources,
  PIO_RESOURCE_DESCRIPTOR RequestedResources,
  ULONG                   NumAccessRanges,
  PVIDEO_ACCESS_RANGE     AccessRanges,
  PVOID                   VendorId,
  PVOID                   DeviceId,
  PULONG                  Slot
);

Parameters

DeviceHandle

A handle that represents a display adapter.

NumRequestedResources

The number of requested resources.

RequestedResources

The requested resources.

NumAccessRanges

The number of access ranges.

AccessRanges

The access ranges.

VendorId

The vendor id.

DeviceId

The device id.

Slot

The memory slot.

Return value

This function returns NTSTATUS.

Requirements

Requirement Value
Header dispmprt.h