Line 100:
Line 100:
|-
|-
−
| 31 (?) || ? (IUSB_CancelInsertionNotify) || ? || ? || OH0
+
| 31 (ioctl) || USBV0_IOCTL_CANCEL_DEVINSERTHOOK || 4 bytes || - || OH0
−
| ?
+
| 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.
+
+
Returns IPC_EINVAL if input buffer was nullptr. Otherwise, IPC_SUCCESS is returned if there was no hook;
+
if there was a pending hook, the return value of <code>IOS_ResourceReply(pending_hook, -7022)</code> is used.
+
|}
|}