USBFN_INTERFACE_ATTACH - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// usbfnattach.h

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;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-usbfnattach-_usbfn_interface_attach)

_USBFN_INTERFACE_ATTACH structure

Description

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

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.

See also

USB filter driver for supporting proprietary chargers