// udecxusbdevice.h
NTSTATUS UdecxUsbDevicePlugIn(
[in] UDECXUSBDEVICE UdecxUsbDevice,
[in] PUDECX_USB_DEVICE_PLUG_IN_OPTIONS Options
);
View the official Windows Driver Kit DDI referenceNo description available.
Notifies the USB device emulation class extension (UdeCx) that the USB device has been plugged in the specified port.
UdecxUsbDevice [in]A handle to UDE device object. The client driver retrieved this pointer in the previous call to UdecxUsbDeviceCreate.
Options [in]A UDECX_USB_DEVICE_PLUG_IN_OPTIONS-type value that indicates the port to which the device is plugged. At most one of Usb20PortNumber, Usb30PortNumber can be non-zero. NULL disables plug-in options (use defaults).
The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method might return an appropriate NTSTATUS error code.
After the client driver calls this method, the class extension sends I/O requests and invokes callback functions on the endpoints and the device.
Architecture: USB Device Emulation (UDE)