USBFN_INTERFACE_ATTACH structure (usbfnattach.h)

Stores pointers to driver-implemented callback functions for handling attach and detach operations.

Syntax

typedef struct _USBFN_INTERFACE_ATTACH {
  INTERFACE                         InterfaceHeader;
  PFN_USBFN_GET_ATTACH_ACTION       GetAttachAction;
  PFN_USBFN_GET_ATTACH_ACTION_ABORT GetAttachActionAbortOperation;
  PFN_USBFN_SET_DEVICE_STATE        SetDeviceState;
} USBFN_INTERFACE_ATTACH, *PUSBFN_INTERFACE_ATTACH;

Members

InterfaceHeader

The interface version number.

GetAttachAction

A pointer to the driver's implementation of the USBFN_GET_ATTACH_ACTION callback function.

GetAttachActionAbortOperation

A pointer to the driver's implementation of the USBFN_GET_ATTACH_ACTION_ABORT callback function.

SetDeviceState

A pointer to the driver's implementation of the USBFN_SET_DEVICE_STATE callback function.

Requirements

Requirement Value
Header usbfnattach.h

See also

USB filter driver for supporting proprietary chargers