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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for