Re: why my stream driver function XXX_Open is called right after X



Hello, Steve Maillet!
Thanks for your reply! Now, i have known in which case XXX_Open will be
called during the loading of driver ! Thanks very much !

"Steve Maillet (eMVP)" wrote:

> 3 possibilities already discussed:
> 1) You have an Ioctl setting in the registry for the drvier
> 2) you have an IClass value indicating the driver is power managed
> 3) your driver calls AdvertiseInterface in the xxx_Init to advertise an
> IClass that is power manager aware
>
> If you really care for whatever reason the easiest solution is to set a
> breakpoint in the Open function and use the debugger call stack to determine
> who the caller is and why they are calling open.
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
> smaillet at EmbeddedFusion dot com
>
>
>
.



Relevant Pages

  • Re: IST Help
    ... Message queue between a driver and an application, ... Steve Maillet ... smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How does interrupt machnisum works for serial driver?
    ... Steve Maillet wrote: ... which returns a context to the device manager for that particular device. ... to inform the driver something wants to open a handle to that particular ... What changed to the COM port architecture since CE 4.2? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Rendering embedded bitmap without roll down
    ... Who wrote the driver? ... Steve Maillet ... smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: XScale MemoryController
    ... map it into your driver via BusTransBusAddressToVirtual. ... Steve Maillet ... smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: How to only build a driver in WinCE 5.0 ?
    ... sysgening only that one driver. ... Steve Maillet ... smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.platbuilder)