PCI SLOT BASE ADDRESS

Hi friends,

can anybody tell me how I can get the base address of the PCI
configuration registers and any sample code…in windows 2000.

thanx,

shiv


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Send IRP_MN_READ_CONFIG down the PnP stack (to the PDO created by pci.sys).
You can read only the config space of the device for which your driver is
intended.

In NT4 you also could call HalGetBusData to read PCI config spaces of all
PCI busses.

Max

----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Sunday, July 29, 2001 2:46 AM
Subject: [ntdev] PCI SLOT BASE ADDRESS

> Hi friends,
>
> can anybody tell me how I can get the base address of the PCI
> configuration registers and any sample code…in windows 2000.
>
> thanx,
>
> shiv
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You can have a look at this KB Q253232.

----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Sunday, July 29, 2001 2:46 AM
Subject: [ntdev] PCI SLOT BASE ADDRESS

> Hi friends,
>
> can anybody tell me how I can get the base address of the PCI
> configuration registers and any sample code…in windows 2000.
>
> thanx,
>
> shiv
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com