// udecxusbdevice.h
NTSTATUS UdecxUsbDeviceCreate(
[in, out] PUDECXUSBDEVICE_INIT *UdecxUsbDeviceInit,
[in, optional] PWDF_OBJECT_ATTRIBUTES Attributes,
[out] UDECXUSBDEVICE *UdecxUsbDevice
);
View the official Windows Driver Kit DDI referenceNo description available.
Creates a USB Device Emulation (UDE) device object.
UdecxUsbDeviceInit [in, out]A pointer to a WDF-allocated structure that contains initialization parameters for the virtual USB device. The client driver retrieved this pointer in the previous call to UdecxUsbDeviceInitAllocate.
Attributes [in, optional]A pointer to a caller-allocated WDF_OBJECT_ATTRIBUTES structure that specifies attributes for the USB device object.
UdecxUsbDevice [out]A pointer to a variable that receives a handle to the new UDE device object that represents the virtual USB device.
The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method might return an appropriate NTSTATUS error code.
Architecture: USB Device Emulation (UDE)