// ntddndis.h
typedef struct _NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS {
NDIS_OBJECT_HEADER Header;
NDIS_SRIOV_FUNCTION_ID VFId;
NDIS_DEVICE_POWER_STATE PowerState;
BOOLEAN WakeEnable;
} NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS, *PNDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS;
View the official Windows Driver Kit DDI reference
No description available.
The NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS structure specifies the parameters for changing the power state of a network adapter's PCI Express (PCIe) Virtual Function (VF).
Header
The type, revision, and size of the NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS structure. This member is formatted as an NDIS_OBJECT_HEADER structure.
The miniport driver must set the Type member of Header to NDIS_OBJECT_TYPE_DEFAULT. To specify the version of the NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS structure, the driver must set the Revision member of Header to the following value:
Original version for NDIS 6.30 and later.
Set the Size member to NDIS_SIZEOF_SRIOV_SET_VF_POWER_STATE_PARAMETERS_REVISION_1.
VFId
An NDIS_SRIOV_FUNCTION_ID value that specifies the unique identifier of the VF on the network adapter.
Note The VF with the specified NDIS_SRIOV_FUNCTION_ID value must have resources that were previously allocated through an OID set request of OID_NIC_SWITCH_ALLOCATE_VF.
PowerState
An NDIS_DEVICE_POWER_STATE value that specifies the power state of the network adapter.
WakeEnable
A BOOLEAN value that specifies whether the network adapter should have its WAKE# signal (on the PCI Express bus) or PME# signal (on the PCI bus) asserted as it goes into the low-power state.
Note This value must be set to FALSE if PowerState is set to the full-power state (NdisDeviceStateD0).
The NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS structure is used in OID set requests of OID_SRIOV_SET_VF_POWER_STATE.