Re: USB Functional dependencies
- From: "voidcoder" <voidcoder@xxxxxxxxx>
- Date: Mon, 13 Mar 2006 23:10:44 +0100
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
.
- Prev by Date: Re: USB data Transfer question
- Next by Date: Re: Input Panel pops up
- Previous by thread: Re: About 64MB RAM problem
- Next by thread: Re: Input Panel pops up
- Index(es):