Yes, some WMI facilities must be supported for this tab to appear
(BTW - are they documented in the DDK?).
This tab does not send power IRPs. It sends WMI queries which must
change some parameters inside your driver, and they - in turn - will
change the power IRP handling by your driver.
> Does it also read in the PCI config space?
w2k surely reads it, but this tab has nothing to do with PCI config
space.
Max
http://msdn.microsoft.com/library/default.asp
-> "Windows Development"
-> "Driver Development Kit"
-> "Kernel-Mode Driver Architecture"
-> "Design Guide"
-> "Windows Management Instrumentation"
-> "WMI Property Sheets"
-> "WMI and the Power Management Tab"
(currently points to
http://msdn.microsoft.com/library/en-us/kmarch/hh/kmarch/wmi_884n.asp)
However, I think NDIS Miniports do not have to directly support these
GUIDs. Instead, a Miniport only needs to support the OID_PNP_xxx OIDs,
which NDIS then maps to the corresponding WMI GUIDs.
See also
"Power Management for Network Devices"
http://www.microsoft.com/hwdev/tech/network/netpm.asp
HTH, Stephan
---
After your miniport responds to OID_PNP_CAPABILITIES, NDIS does some more
sanity checking of the power states reported by your driver and the S-D
states reported by the bus and finally comes to decision whether it can show
the tab or not.
Turn on Power request debug tracing in NDIS and you will see all the
S-states and D-states of the device.
--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.
"Stephan Wolf" <ste...@hotmail.com> wrote in message
news:3cf31e48...@news.t-online.de...
you are wrong. As I found out it surely has to do with the
pci config space. For details read my reply and the mail
of Eliyas.
Manfred
>.
>
Thanks Manfred
>.
>