// pcivirt.h
typedef struct _MITIGABLE_DEVICE_INTERFACE {
USHORT Size;
USHORT Version;
PVOID Context;
PINTERFACE_REFERENCE InterfaceReference;
PINTERFACE_REFERENCE InterfaceDereference;
PREAD_WRITE_MITIGATED_REGISTER ReadWriteMitigatedRegister;
} MITIGABLE_DEVICE_INTERFACE, MITIGABLE_DEVICE_INTERFACE;
View the official Windows Driver Kit DDI referenceNo description available.
Stores function pointers to callback functions implemented by the physical function (PF) driver for the mitigable device interface.
SizeSize of this structure.
VersionVersion of this structure
ContextDriver-defined context passed by the driver.
InterfaceReferencePointer to a routine that increments the number of references to this interface. For more information about this routine, see InterfaceReference.
InterfaceDereferencePointer to a routine that decrements the number of references to this interface. For more information about this routine, see InterfaceDereference.
ReadWriteMitigatedRegisterPointer to the driver's implementation of the READ_WRITE_MITIGATED_REGISTER callback function.
typedef struct _MITIGABLE_DEVICE_INTERFACE {
USHORT Size;
USHORT Version;
PVOID Context;
PINTERFACE_REFERENCE InterfaceReference;
PINTERFACE_REFERENCE InterfaceDereference;
PREAD_WRITE_MITIGATED_REGISTER ReadWriteMitigatedRegister;
} MITIGABLE_DEVICE_INTERFACE, MITIGABLE_DEVICE_INTERFACE;
This callback function is implemented by the physical function (PF) driver. This function reads and writes mitigated address spaces, in the form required by GUID_MITIGABLE_DEVICE_INTERFACE.
The PF driver registers its implementation by setting the ReadVfConfig member of the SRIOV_DEVICE_INTERFACE_STANDARD, configuring a WDF_QUERY_INTERFACE_CONFIG structure, and calling WdfDeviceAddQueryInterface.