USB_UDE_Sample
USB_UDE_Sample copied to clipboard
UDE (USB Device Emulation) Hardware-less sample, with matching Host-Side drivers. Used as a USB study test bed.
hello, I want virtual a usb device. I successfully compiled the project, I modified the PID and VID, and I manually installed hostude.inf and udefx2.inf. UDRFX2: I modified, #define UDEFX2_DEVICE_VENDOR_ID...
File: USBcom.c 188: SIZE_T change to -> size_t rlen; File: BackChannel.c 89: SIZE_T change to -> size_t transferBufferLength; 141: SIZE_T change to -> size_t transferBufferLength;
Hi I installed Visual Studio Enterprise 2017 with WDK then try to build the source but faced error [stampinf.exe is invalid] so i copied [stampinf.exe] from [C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x64\stampinf.exe]...
Done to reduce the a amount of "magic" values in the implementation, and make the code easier to follow. Also, remove `g_UsbDeviceDescriptor` from header, since it's not references in any...
Fixes the following warning when running Code Analysis from Visual Studio: `USB_UDE_Sample\UDEFX2\Device.c(571): warning C6101: Returning uninitialized memory '*ResultLength'. A successful path through the function does not set the named _Out_...
It's safer to work directly with typed data instead of bytes-arrays. Remove associated NT_ASSERT checks that are now redundant, since they are checking obviously correct struct members.
I haven't thought this proposal fully through, so I'm not sure if it's realistic. Stil, it's possible to extend USB devices with custom _Microsoft OS Descriptors descriptors_ to make them...
Hi, I have an question about function driver for UDE device. I think the function driver for UDE device is custom function driver which is not supported by Windows OS....
Follow-up to #43. It's safer to work directly with typed data instead of bytes-arrays. Remove associated NT_ASSERT checks that are now redundant, since they are checking obviously correct struct members....
Done to simplify the driver