EnumProcPages question
I am implementing some tabs in the device manager (when you right-click on a device and go on properties) showing additional (low level) information about the driver and the hardware device. The function that adds those tabs is EnumProcPages.
I currently have 2 problems:
1) I cant figure out what to do with the parameters of that funciton: extern "C" BOOL CALLBACK EnumPropPages(PSP_PROPSHEETPAGE_REQUEST p,
LPFNADDPROPSHEETPAGE AddPage, LPARAM lParam)
I am able to get some decent information out of p->DeviceInfoData but neither out of p->DeviceInfoSet (which should be a pointer to a DRIVER_INFO structure which is documented but which I could not find in any .h file. Also this structure seems to only consist of 0s).
2) How can I find out which driver is responsible for the device that I want to find more information about currently? Like if there are 2 cards installed and I want to view more info about the 1st card
I am also interested into finding out more about where the card is (PCI Bus, Slot, etc.) This info is displayed in the device manager, but is it passed to me somewhere from Windows or do I need to get that information from the driver as well?
Also: is this funciton properly documented anywhere?? There is like nothing in the MSDN, and I only found little information in the "Programming the WDM 2nd edition", which unfortunately wasnt all that extensive.
Thx for any input!

