Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 1.75 KB

accessing-device-configuration-space.md

File metadata and controls

17 lines (12 loc) · 1.75 KB
title description keywords ms.date
Accessing Device Configuration Space
Accessing Device Configuration Space
I/O WDK kernel , device configuration space
device configuration space WDK I/O
configuration space WDK I/O
space WDK I/O
resource information WDK I/O
driver stacks WDK configuration info
01/17/2024

Accessing Device Configuration Space

This article explains how a driver can get information from a target device's configuration space, provided the driver is loaded in the same driver stack as the driver for the target device, either as a function driver or a filter driver.

The configuration space for a device contains a description of the device and its resource requirements. Typically, a driver receives resources from the Plug and Play (PnP) manager in IRP_MN_START_DEVICE, and does not need to query a device to find resources. If the driver does need to access the configuration space:

If you need the configuration space of a device whose driver is on a stack other than the one that your driver is on, see Obtaining Configuration Information from Other Driver Stacks.