// wdm.h
typedef struct _FPGA_CONTROL_INTERFACE {
USHORT Size;
USHORT Version;
PVOID Context;
PINTERFACE_REFERENCE InterfaceReference;
PINTERFACE_DEREFERENCE InterfaceDereference;
PFPGA_BUS_SCAN BusScan;
PFPGA_CONTROL_LINK ControlLink;
PFPGA_CONTROL_CONFIG_SPACE ControlConfigSpace;
PFPGA_CONTROL_ERROR_REPORTING ControlErrorReporting;
} FPGA_CONTROL_INTERFACE, *PFPGA_CONTROL_INTERFACE;
View the official Windows Driver Kit DDI referenceNo description available.
Reserved for future use.
SizeThe size, in bytes, of this structure.
VersionThe driver-defined interface version. The current version of this interface is FPGA_CONTROL_INTERFACE_VERSION.
ContextA pointer to interface-specific context information.
InterfaceReferenceA pointer to an InterfaceReference routine that increments the interface's reference count.
InterfaceDereferenceA pointer to an InterfaceDereference routine that decrements the interface's reference count.
BusScanA pointer to a _FPGA_BUS_SCAN_ callback function that triggers a bus scan at the parent of the FPGA device.
ControlLinkA pointer to a _FPGA_CONTROL_LINK_ callback function that enables or disables the link between the given FPGA device and its parent bridge.
ControlConfigSpaceA pointer to a _FPGA_CONTROL_CONFIG_SPACE_ callback function that enables or disables the access to the configuration space of the FPGA device.
ControlErrorReportingA pointer to a _FPGA_CONTROL_ERROR_REPORTING_ callback function that toggles the error reporting for the FPGA device and its parent bridge.
A device driver that successfully queries for the GUID_PCI_FPGA_CONTROL_INTERFACE interface receives a pointer to a [_FPGA_CONTROL_INTERFACE] structure in which the pointers to the routines in the interface are all non-NULL and valid.
The [_FPGA_CONTROL_INTERFACE] structure is an extended version of the [INTERFACE] structure.