NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS structure (ntddndis.h)
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).
Syntax
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;
Members
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:
NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS_REVISION_1
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.
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.
Remarks
The NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS structure is used in OID set requests of OID_SRIOV_SET_VF_POWER_STATE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported in NDIS 6.30 and later. |
Header | ntddndis.h (include Ndis.h) |
See also