Line 113:
Line 113:
Returns when a device with the requested VID/PID is plugged in, or immediately if the device is already inserted.
Returns when a device with the requested VID/PID is plugged in, or immediately if the device is already inserted.
−
It is similar to USBV0_IOCTL_DEVINSERTHOOK, but it has an additional in vector + io vector, possibly used for passing an "ID" (according the official name). Its purpose is unknown.
+
It is similar to USBV0_IOCTL_DEVINSERTHOOK, but it has an additional in vector + io vector, possibly used for passing an "ID" (according the official name). {{check}}
* in 0: u16 - VID
* in 0: u16 - VID
Line 124:
Line 124:
| Internal names: IUSB_CancelInsertionNotify / __ohciCancelNotifyInsertion
| Internal names: IUSB_CancelInsertionNotify / __ohciCancelNotifyInsertion
−
Cancels a device insertion hook (the hook request will be replied to with return value -7022). The input buffer is probably used to specify the VID/PID.
+
Cancels a device insertion hook (the hook request will be replied to with return value -7022). The input buffer is probably used to specify the VID/PID. {{check}}
Returns IPC_EINVAL if input buffer was nullptr. Otherwise, IPC_SUCCESS is returned if there was no hook;
Returns IPC_EINVAL if input buffer was nullptr. Otherwise, IPC_SUCCESS is returned if there was no hook;