Hi Everyone,
This was regarding the support for Selective Suspend in the NDIS 6.2 in Win 7.
The Selective Suspend support in NDIS 6.2 is not supported to be implemented in the NDIS Miniport driver as the WDFDEVICE *Device parameter returned by the API WdfDeviceMiniportCreate in the driver is not a valid device object to be passed to the WdfDeviceAssignS0IdleSettings
API required for configuring drivers for WDF Selective Suspend.
Moreover, the documentation for WdfDeviceMiniportCreate (http://msdn.microsoft.com/en-us/library/ff546802(VS.85).aspx) states that:
"The following restrictions apply to framework device objects that a miniport driver obtains by calling WdfDeviceMiniportCreate:
The
device object does not support any of the device object’s event
callback functions. Therefore, the port driver must handle all Plug and
Play (PnP) and power management operations.
The device object handle cannot be passed to WdfWmiProviderCreate, so the port driver must provide any required support for Windows Management Instrumentation (WMI). "
- The mention of: " the port driver must handle all Plug and
Play (PnP) and power management operations" in the documentation made us to think that the handlers in the port driver will handle the Selective Suspend functionality for the NDIS Miniport driver.
But the fact is that, while trying to test the Selective Suspend feature through the PowerCfg utility(PowerCfg -energy), it was found that the NDIS Miniport driver does not seem to be going to Selective Suspend mode. Is there anything that needs to be implemented/modified at the port driver level for the Selective Suspend feature to work in NDIS?
- Moreover, the mention of “the port driver must provide any required support for Windows Management Instrumentation (WMI)” made us to think that the port driver would also take care of supporting for the display of the Power Management tab in Device Manager for NDIS. But, we do not see the Power Management tab in the Device Manager corresponding to the NDIS driver.
As the previous query for Selective Suspend, is there any implementation/modification needed to be done at the port driver level in NDIS for the Power Management tab to be displayed in Device Manager?
Thanks in advance.
Best regards,
M
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3