Device driver load sequence
- From: Gammaraman <Gammaraman@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 6 Sep 2008 00:33:00 -0700
Hi,
1. I have a stream device driver which gets its XXX_Init called when an SD
card is inserted. I would like to create another stream device driver whose
YYY_Init I would like to have called only if the XXX_Init successfully
completes. If an application does a CreateFile on the YYY device before a SD
card is inserted, I would like the call to fail. I am not sure if/how the
Order in the registry can be used for this.
2. If XXX_Init has not been called when an application does a CreateFile,
what happens? Does the call fail or does it cause the XXX_Init to get invoked?
3. The handle returned from XXX_Init is passed as the first param to
XXX_Open. However applications don't know the handle, so who supplies this
handle when an application does a CreateFile (which causes the XXX_Open entry
point to get exercised)?
4. Can a single DLL implement more than one stream interface?
Thanks.
.
- Follow-Ups:
- RE: Device driver load sequence
- From: Rob
- Re: Device driver load sequence
- From: vaisakh p s
- Re: Device driver load sequence
- From: vaisakh p s
- Re: Device driver load sequence
- From: vaisakh p s
- Re: Device driver load sequence
- From: vaisakh p s
- RE: Device driver load sequence
- Prev by Date: Re: Reflector Service in 6.0
- Next by Date: Re: Suspend after Timeout Not Happening
- Previous by thread: Design process using Windows Embedded CE 6.0, VS2005, CoreCon and SDKs
- Next by thread: Re: Device driver load sequence
- Index(es):
Relevant Pages
|