USBFN_ON_ATTACH structure (usbfnattach.h)

Describes the detected port type and attach action.

Syntax

typedef struct _USBFN_ON_ATTACH {
  USBFN_PORT_TYPE     PortType;
  USBFN_ATTACH_ACTION AttachAction;
} USBFN_ON_ATTACH, *PUSBFN_ON_ATTACH;

Members

PortType

Detected port type defined by one of the USBFN_PORT_TYPE-typed values.

AttachAction

The operation that must be performed depending on the port type. This value is defined in the USBFN_ATTACH_ACTION enumeration.

Requirements

Requirement Value
Header usbfnattach.h

See also

USBFN_GET_ATTACH_ACTION