FPGA_CONTROL_INTERFACE structure (wdm.h)

Reserved for future use.

Syntax

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;

Members

Size

The size, in bytes, of this structure.

Version

The driver-defined interface version. The current version of this interface is FPGA_CONTROL_INTERFACE_VERSION.

Context

A pointer to interface-specific context information.

InterfaceReference

A pointer to an InterfaceReference routine that increments the interface's reference count.

InterfaceDereference

A pointer to an InterfaceDereference routine that decrements the interface's reference count.

BusScan

A pointer to a FPGA_BUS_SCAN callback function that triggers a bus scan at the parent of the FPGA device.

ControlLink

A pointer to a FPGA_CONTROL_LINK callback function that enables or disables the link between the given FPGA device and its parent bridge.

ControlConfigSpace

A pointer to a FPGA_CONTROL_CONFIG_SPACE callback function that enables or disables the access to the configuration space of the FPGA device.

ControlErrorReporting

A pointer to a FPGA_CONTROL_ERROR_REPORTING callback function that toggles the error reporting for the FPGA device and its parent bridge.

Remarks

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.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1803
Header wdm.h