Bewerken

Delen via


USBFN_NOTIFICATION structure (usbfnbase.h)

Describes information about a Universal Serial Bus (USB) event notification that was received by using IOCTL_INTERNAL_USBFN_BUS_EVENT_NOTIFICATION.

Syntax

typedef struct _USBFN_NOTIFICATION {
  USBFN_EVENT Event;
  union {
    USBFN_BUS_SPEED               BusSpeed;
    USB_DEFAULT_PIPE_SETUP_PACKET SetupPacket;
    USHORT                        ConfigurationValue;
    USBFN_PORT_TYPE               PortType;
    ALTERNATE_INTERFACE           AlternateInterface;
  } u;
} USBFN_NOTIFICATION, *PUSBFN_NOTIFICATION;

Members

Event

Bus notification indicated by a USBFN_EVENT-typed flag.

u

u.BusSpeed

The operating bus speed indicated by USBFN_BUS_SPEED-typed flags.

u.SetupPacket

Describes a setup packet in a USB_DEFAULT_PIPE_SETUP_PACKET structure for a control transfer to or from the default endpoint as indicated by a USB_DEFAULT_PIPE_SETUP_PACKET-typed flag.

u.ConfigurationValue

The bConfigurationValue field of a USB configuration descriptor.

u.PortType

Possible port types supported by a function controller indicated by a USBFN_PORT_TYPE-typed flag.

u.AlternateInterface

Alternate setting of the interface indicated by ALTERNATE_INTERFACE.

Requirements

Requirement Value
Header usbfnbase.h