RNDIS host not functioning

Tech-Archive recommends: Fix windows errors by optimizing your registry



I have implemented an USB host controller driver on Windows CE 5.0, which
works fine when HID class and mass storage class devices are conencted to the
host controller. When an RNDIS device is connected, the enumeration is
happening fine but when we get the first class request as
"Send_Encapsulated_Command", the data portion is zero due to which the device
is not responding with "Response_Available".
The data packets that were seen are as below:
21 00 00 00 00 00 18 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

When I tested the same on CEPC, I could get the things up and running with
the packets as below:
21 00 00 00 00 00 18 00
02 00 00 00 18 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 10 00 00

Let me know where can I find for solution

Regards,
-Rams

.