Re: USB Functional dependencies

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Actually the USB Functional Bus Driver does not depend on anything.
Quite the contrary the Function Client Drivers (MassStorage, RNDIS and
Serial)
depend on it.

Basically there are several main steps to follow when implementing
your own Function Client:

1. Implement the required USB Function Client Driver funstions:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk5/html/wce51grfusbfunctionclientdriverfunctions.asp

2. Pass the function pointers to the MDD part. You will need to fill
UFN_FUNCTIONS structure
and then pass it through the UfnInitializeInterface MDD function.

3. Add registry settings to get the driver loaded:

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"="My_USB_Function_Class"

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\My_USB_Function_Class]
"Dll"="MyFunctionClient.dll"
"DeviceName"="MYUFN1:"
"FriendlyName"="My USB Function Client Driver"
"bcdDevice"=dword:0
"idVendor"=dword:Your_VID
"idProduct"=dword:Your_PID
"Manufacturer"="Your_Company"
"Product"="Your_Product"

"Bølla" <Blla@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C0C86251-BA38-450B-A754-9421D12F26F0@xxxxxxxxxxxxxxxx
The USB Functional Bus Driver is currently depending on Mass Storage,
RNDIS
Client, or Serial. How can I add additional dependencies for my own driver
(ACM)?
/trond


.