Obtaining the Current Parameter Settings of Low Power Protocol Offloads
A protocol driver can use OID_PM_PROTOCOL_OFFLOAD_LIST OID query to get a list of all the protocols that have been offloaded by that protocol on a network adapter. After a successful return from the query, the InformationBuffer member of the NDIS_OID_REQUEST structure contains a pointer to a list of NDIS_PM_PROTOCOL_OFFLOAD structures that describe the currently active protocol offloads. For information about the contents of the NDIS_PM_PROTOCOL_OFFLOAD structure, see Adding and Deleting Low Power Protocol Offloads.
NDIS handles OID_PM_PROTOCOL_OFFLOAD_LIST OID and GUID_PM_PROTOCOL_OFFLOAD_LIST WMI requests on behalf of the miniport driver. Therefore, NDIS miniport drivers are not required to support OID_PM_PROTOCOL_OFFLOAD_LIST OID request.
Overlying drivers can use the OID_PM_GET_PROTOCOL_OFFLOAD method OID to get parameter settings for a low power protocol offload from a miniport driver. The InformationBuffer member of the NDIS_OID_REQUEST structure initially contains a pointer to a protocol offload identifier. After a successful return from the method request, the InformationBuffer member of the NDIS_OID_REQUEST structure contains a pointer to an NDIS_PM_PROTOCOL_OFFLOAD structure.